Struct spl_token_2022::extension::memo_transfer::MemoTransfer
source · [−]#[repr(C)]pub struct MemoTransfer {
pub require_incoming_transfer_memos: PodBool,
}
Expand description
Memo Transfer extension for Accounts
Fields
require_incoming_transfer_memos: PodBool
Require transfers into this account to be accompanied by a memo
Trait Implementations
sourceimpl Clone for MemoTransfer
impl Clone for MemoTransfer
sourcefn clone(&self) -> MemoTransfer
fn clone(&self) -> MemoTransfer
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 more
sourceimpl Debug for MemoTransfer
impl Debug for MemoTransfer
sourceimpl Default for MemoTransfer
impl Default for MemoTransfer
sourcefn default() -> MemoTransfer
fn default() -> MemoTransfer
Returns the “default value” for a type. Read more
sourceimpl Extension for MemoTransfer
impl Extension for MemoTransfer
sourceconst TYPE: ExtensionType
const TYPE: ExtensionType
Associated extension type enum, checked at the start of TLV entries
sourceimpl PartialEq<MemoTransfer> for MemoTransfer
impl PartialEq<MemoTransfer> for MemoTransfer
sourcefn eq(&self, other: &MemoTransfer) -> bool
fn eq(&self, other: &MemoTransfer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemoTransfer) -> bool
fn ne(&self, other: &MemoTransfer) -> bool
This method tests for !=
.
impl Copy for MemoTransfer
impl Pod for MemoTransfer
impl StructuralPartialEq for MemoTransfer
Auto Trait Implementations
impl RefUnwindSafe for MemoTransfer
impl Send for MemoTransfer
impl Sync for MemoTransfer
impl Unpin for MemoTransfer
impl UnwindSafe for MemoTransfer
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more