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: StringThe symbol for the asset
seller_fee_basis_points: u16Royalty 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§
Source§impl BorshDeserialize for CandyMachineDatawhere
String: BorshDeserialize,
u64: BorshDeserialize,
u16: BorshDeserialize,
bool: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<EndSettings>: BorshDeserialize,
Vec<Creator>: BorshDeserialize,
Option<HiddenSettings>: BorshDeserialize,
Option<WhitelistMintSettings>: BorshDeserialize,
Option<GatekeeperConfig>: BorshDeserialize,
impl BorshDeserialize for CandyMachineDatawhere
String: BorshDeserialize,
u64: BorshDeserialize,
u16: BorshDeserialize,
bool: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<EndSettings>: BorshDeserialize,
Vec<Creator>: BorshDeserialize,
Option<HiddenSettings>: BorshDeserialize,
Option<WhitelistMintSettings>: BorshDeserialize,
Option<GatekeeperConfig>: BorshDeserialize,
Source§impl BorshSerialize for CandyMachineDatawhere
String: BorshSerialize,
u64: BorshSerialize,
u16: BorshSerialize,
bool: BorshSerialize,
Option<i64>: BorshSerialize,
Option<EndSettings>: BorshSerialize,
Vec<Creator>: BorshSerialize,
Option<HiddenSettings>: BorshSerialize,
Option<WhitelistMintSettings>: BorshSerialize,
Option<GatekeeperConfig>: BorshSerialize,
impl BorshSerialize for CandyMachineDatawhere
String: BorshSerialize,
u64: BorshSerialize,
u16: BorshSerialize,
bool: BorshSerialize,
Option<i64>: BorshSerialize,
Option<EndSettings>: BorshSerialize,
Vec<Creator>: BorshSerialize,
Option<HiddenSettings>: BorshSerialize,
Option<WhitelistMintSettings>: BorshSerialize,
Option<GatekeeperConfig>: BorshSerialize,
Source§impl Clone for CandyMachineData
impl Clone for CandyMachineData
Source§fn clone(&self) -> CandyMachineData
fn clone(&self) -> CandyMachineData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CandyMachineData
impl Default for CandyMachineData
Source§fn default() -> CandyMachineData
fn default() -> CandyMachineData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CandyMachineData
impl RefUnwindSafe for CandyMachineData
impl Send for CandyMachineData
impl Sync for CandyMachineData
impl Unpin for CandyMachineData
impl UnwindSafe for CandyMachineData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more