Struct sugar_cli::config::data::WhitelistMintSettings
source · pub struct WhitelistMintSettings { /* private fields */ }Implementations§
source§impl WhitelistMintSettings
impl WhitelistMintSettings
pub fn new(
mode: WhitelistMintMode,
mint: Pubkey,
presale: bool,
discount_price: Option<f64>
) -> WhitelistMintSettings
pub fn to_candy_format(&self, decimals: u8) -> CandyWhitelistMintSettings
Trait Implementations§
source§impl Clone for WhitelistMintSettings
impl Clone for WhitelistMintSettings
source§fn clone(&self) -> WhitelistMintSettings
fn clone(&self) -> WhitelistMintSettings
Returns a copy 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 Debug for WhitelistMintSettings
impl Debug for WhitelistMintSettings
source§impl<'de> Deserialize<'de> for WhitelistMintSettings
impl<'de> Deserialize<'de> for WhitelistMintSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<WhitelistMintSettings> for WhitelistMintSettings
impl PartialEq<WhitelistMintSettings> for WhitelistMintSettings
source§fn eq(&self, other: &WhitelistMintSettings) -> bool
fn eq(&self, other: &WhitelistMintSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.