#[repr(u8)]
pub enum TokenManagerState {
Initialized,
Issued,
Claimed,
Invalidated,
}
Variants§
Initialized
Token manager is initialized
Issued
Token is issued
Claimed
Token is claimed and valid
Invalidated
Token is invalid
Trait Implementations§
source§impl BorshDeserialize for TokenManagerState
impl BorshDeserialize for TokenManagerState
source§impl BorshSerialize for TokenManagerState
impl BorshSerialize for TokenManagerState
source§impl Clone for TokenManagerState
impl Clone for TokenManagerState
source§fn clone(&self) -> TokenManagerState
fn clone(&self) -> TokenManagerState
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 TokenManagerState
impl Debug for TokenManagerState
source§impl PartialEq<TokenManagerState> for TokenManagerState
impl PartialEq<TokenManagerState> for TokenManagerState
source§fn eq(&self, other: &TokenManagerState) -> bool
fn eq(&self, other: &TokenManagerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.