pub struct CandyMachineData {
Show 14 fields pub uuid: String, pub price: u64, pub symbol: String, pub seller_fee_basis_points: u16, pub max_supply: u64, pub is_mutable: bool, pub retain_authority: bool, pub go_live_date: Option<i64>, pub end_settings: Option<EndSettings>, pub creators: Vec<Creator>, pub hidden_settings: Option<HiddenSettings>, pub whitelist_mint_settings: Option<WhitelistMintSettings>, pub items_available: u64, pub gatekeeper: Option<GatekeeperConfig>,
}
Expand description

Candy machine settings data.

Fields

uuid: Stringprice: u64symbol: String

The symbol for the asset

seller_fee_basis_points: u16

Royalty basis points that goes to creators in secondary sales (0-10000)

max_supply: u64is_mutable: boolretain_authority: boolgo_live_date: Option<i64>end_settings: Option<EndSettings>creators: Vec<Creator>hidden_settings: Option<HiddenSettings>whitelist_mint_settings: Option<WhitelistMintSettings>items_available: u64gatekeeper: Option<GatekeeperConfig>

If Some requires gateway tokens on mint

Trait Implementations

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more

Deserialize this instance from a slice of bytes.

Serialize this instance into a vector of bytes.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.