Struct mpl_candy_machine::CandyMachineData
source · [−]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: String
price: u64
symbol: 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: u64
is_mutable: bool
go_live_date: Option<i64>
end_settings: Option<EndSettings>
creators: Vec<Creator>
whitelist_mint_settings: Option<WhitelistMintSettings>
items_available: u64
gatekeeper: Option<GatekeeperConfig>
If Some
requires gateway tokens on mint
Trait Implementations
sourceimpl BorshDeserialize for CandyMachineData where
String: BorshDeserialize,
u64: BorshDeserialize,
String: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<EndSettings>: BorshDeserialize,
Vec<Creator>: BorshDeserialize,
Option<HiddenSettings>: BorshDeserialize,
Option<WhitelistMintSettings>: BorshDeserialize,
u64: BorshDeserialize,
Option<GatekeeperConfig>: BorshDeserialize,
impl BorshDeserialize for CandyMachineData where
String: BorshDeserialize,
u64: BorshDeserialize,
String: BorshDeserialize,
u16: BorshDeserialize,
u64: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<EndSettings>: BorshDeserialize,
Vec<Creator>: BorshDeserialize,
Option<HiddenSettings>: BorshDeserialize,
Option<WhitelistMintSettings>: BorshDeserialize,
u64: BorshDeserialize,
Option<GatekeeperConfig>: BorshDeserialize,
sourceimpl BorshSerialize for CandyMachineData where
String: BorshSerialize,
u64: BorshSerialize,
String: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
Option<i64>: BorshSerialize,
Option<EndSettings>: BorshSerialize,
Vec<Creator>: BorshSerialize,
Option<HiddenSettings>: BorshSerialize,
Option<WhitelistMintSettings>: BorshSerialize,
u64: BorshSerialize,
Option<GatekeeperConfig>: BorshSerialize,
impl BorshSerialize for CandyMachineData where
String: BorshSerialize,
u64: BorshSerialize,
String: BorshSerialize,
u16: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
Option<i64>: BorshSerialize,
Option<EndSettings>: BorshSerialize,
Vec<Creator>: BorshSerialize,
Option<HiddenSettings>: BorshSerialize,
Option<WhitelistMintSettings>: BorshSerialize,
u64: BorshSerialize,
Option<GatekeeperConfig>: BorshSerialize,
sourceimpl Clone for CandyMachineData
impl Clone for CandyMachineData
sourcefn clone(&self) -> CandyMachineData
fn clone(&self) -> CandyMachineData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for CandyMachineData
impl Default for CandyMachineData
sourcefn default() -> CandyMachineData
fn default() -> CandyMachineData
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CandyMachineData
impl Send for CandyMachineData
impl Sync for CandyMachineData
impl Unpin for CandyMachineData
impl UnwindSafe for CandyMachineData
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more