Enum sugar_cli::common::WhitelistMintMode
source · pub enum WhitelistMintMode {
BurnEveryTime,
NeverBurn,
}Variants§
Trait Implementations§
source§impl BorshDeserialize for WhitelistMintMode
impl BorshDeserialize for WhitelistMintMode
source§fn deserialize(buf: &mut &[u8]) -> Result<WhitelistMintMode, Error>
fn deserialize(buf: &mut &[u8]) -> Result<WhitelistMintMode, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§impl BorshSerialize for WhitelistMintMode
impl BorshSerialize for WhitelistMintMode
source§impl Clone for WhitelistMintMode
impl Clone for WhitelistMintMode
source§fn clone(&self) -> WhitelistMintMode
fn clone(&self) -> WhitelistMintMode
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 WhitelistMintMode
impl Debug for WhitelistMintMode
source§impl PartialEq<WhitelistMintMode> for WhitelistMintMode
impl PartialEq<WhitelistMintMode> for WhitelistMintMode
source§fn eq(&self, other: &WhitelistMintMode) -> bool
fn eq(&self, other: &WhitelistMintMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for WhitelistMintMode
impl StructuralEq for WhitelistMintMode
impl StructuralPartialEq for WhitelistMintMode
Auto Trait Implementations§
impl RefUnwindSafe for WhitelistMintMode
impl Send for WhitelistMintMode
impl Sync for WhitelistMintMode
impl Unpin for WhitelistMintMode
impl UnwindSafe for WhitelistMintMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.