#[repr(C)]pub enum TokenDelegateRole {
Sale,
Transfer,
Utility,
Staking,
Standard,
LockedTransfer,
Migration,
}
Variants§
Trait Implementations§
source§impl BorshDeserialize for TokenDelegateRole
impl BorshDeserialize for TokenDelegateRole
source§impl BorshSerialize for TokenDelegateRole
impl BorshSerialize for TokenDelegateRole
source§impl Clone for TokenDelegateRole
impl Clone for TokenDelegateRole
source§fn clone(&self) -> TokenDelegateRole
fn clone(&self) -> TokenDelegateRole
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 TokenDelegateRole
impl Debug for TokenDelegateRole
source§impl From<TokenDelegateRole> for TransferScenario
impl From<TokenDelegateRole> for TransferScenario
source§fn from(delegate: TokenDelegateRole) -> Self
fn from(delegate: TokenDelegateRole) -> Self
Converts to this type from the input type.
source§impl From<TransferScenario> for TokenDelegateRole
impl From<TransferScenario> for TokenDelegateRole
source§fn from(delegate: TransferScenario) -> Self
fn from(delegate: TransferScenario) -> Self
Converts to this type from the input type.
source§impl PartialEq<TokenDelegateRole> for TokenDelegateRole
impl PartialEq<TokenDelegateRole> for TokenDelegateRole
source§fn eq(&self, other: &TokenDelegateRole) -> bool
fn eq(&self, other: &TokenDelegateRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TokenDelegateRole
impl Eq for TokenDelegateRole
impl StructuralEq for TokenDelegateRole
impl StructuralPartialEq for TokenDelegateRole
Auto Trait Implementations§
impl RefUnwindSafe for TokenDelegateRole
impl Send for TokenDelegateRole
impl Sync for TokenDelegateRole
impl Unpin for TokenDelegateRole
impl UnwindSafe for TokenDelegateRole
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more