Struct spl_token_2022::extension::non_transferable::NonTransferable
source · pub struct NonTransferable;
Expand description
Indicates that the tokens from this mint can’t be transfered
Trait Implementations§
source§impl Clone for NonTransferable
impl Clone for NonTransferable
source§fn clone(&self) -> NonTransferable
fn clone(&self) -> NonTransferable
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 NonTransferable
impl Debug for NonTransferable
source§impl Default for NonTransferable
impl Default for NonTransferable
source§fn default() -> NonTransferable
fn default() -> NonTransferable
Returns the “default value” for a type. Read more
source§impl Extension for NonTransferable
impl Extension for NonTransferable
source§const TYPE: ExtensionType = ExtensionType::NonTransferable
const TYPE: ExtensionType = ExtensionType::NonTransferable
Associated extension type enum, checked at the start of TLV entries
source§impl PartialEq for NonTransferable
impl PartialEq for NonTransferable
source§fn eq(&self, other: &NonTransferable) -> bool
fn eq(&self, other: &NonTransferable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NonTransferable
impl Pod for NonTransferable
impl StructuralPartialEq for NonTransferable
Auto Trait Implementations§
impl RefUnwindSafe for NonTransferable
impl Send for NonTransferable
impl Sync for NonTransferable
impl Unpin for NonTransferable
impl UnwindSafe for NonTransferable
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.