#[repr(u8)]
pub enum InvalidationType {
Return,
Invalidate,
Release,
Reissue,
}Variants
Return
Upon invalidation it will be returned to the issuer
Invalidate
Upon invalidation it will remain marked as invalid
Release
Upon invalidation the token manager will be deleted and thus the tokens are released
Reissue
Upon invalidation the token manager will be reset back to issued state
Trait Implementations
sourceimpl BorshDeserialize for InvalidationType
impl BorshDeserialize for InvalidationType
sourcefn 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. Read more
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.
sourceimpl BorshSerialize for InvalidationType
impl BorshSerialize for InvalidationType
sourceimpl Clone for InvalidationType
impl Clone for InvalidationType
sourcefn clone(&self) -> InvalidationType
fn clone(&self) -> InvalidationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InvalidationType
impl Debug for InvalidationType
sourceimpl PartialEq<InvalidationType> for InvalidationType
impl PartialEq<InvalidationType> for InvalidationType
sourcefn eq(&self, other: &InvalidationType) -> bool
fn eq(&self, other: &InvalidationType) -> bool
impl Eq for InvalidationType
impl StructuralEq for InvalidationType
impl StructuralPartialEq for InvalidationType
Auto Trait Implementations
impl RefUnwindSafe for InvalidationType
impl Send for InvalidationType
impl Sync for InvalidationType
impl Unpin for InvalidationType
impl UnwindSafe for InvalidationType
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more