Enum sugar_cli::common::WhitelistMintMode
source · pub enum WhitelistMintMode {
BurnEveryTime,
NeverBurn,
}Variants§
Trait Implementations§
source§impl BorshDeserialize for WhitelistMintMode
impl BorshDeserialize for WhitelistMintMode
fn deserialize_reader<R>(reader: &mut R) -> Result<WhitelistMintMode, Error>where
R: Read,
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
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 EnumExt for WhitelistMintMode
impl EnumExt for WhitelistMintMode
source§fn deserialize_variant<R>(
reader: &mut R,
variant_tag: u8
) -> Result<WhitelistMintMode, Error>where
R: Read,
fn deserialize_variant<R>(
reader: &mut R,
variant_tag: u8
) -> Result<WhitelistMintMode, Error>where
R: Read,
Deserialises given variant of an enum from the reader. Read more
source§impl PartialEq for WhitelistMintMode
impl PartialEq 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<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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.