#[repr(transparent)]pub struct TransferHookAccount {
pub transferring: PodBool,
}
Expand description
Indicates that the tokens from this account belong to a mint with a transfer hook
Fields§
§transferring: PodBool
Flag to indicate that the account is in the middle of a transfer
Trait Implementations§
source§impl Clone for TransferHookAccount
impl Clone for TransferHookAccount
source§fn clone(&self) -> TransferHookAccount
fn clone(&self) -> TransferHookAccount
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 TransferHookAccount
impl Debug for TransferHookAccount
source§impl Default for TransferHookAccount
impl Default for TransferHookAccount
source§fn default() -> TransferHookAccount
fn default() -> TransferHookAccount
Returns the “default value” for a type. Read more
source§impl Extension for TransferHookAccount
impl Extension for TransferHookAccount
source§const TYPE: ExtensionType = ExtensionType::TransferHookAccount
const TYPE: ExtensionType = ExtensionType::TransferHookAccount
Associated extension type enum, checked at the start of TLV entries
source§impl PartialEq for TransferHookAccount
impl PartialEq for TransferHookAccount
source§fn eq(&self, other: &TransferHookAccount) -> bool
fn eq(&self, other: &TransferHookAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransferHookAccount
impl Pod for TransferHookAccount
impl StructuralPartialEq for TransferHookAccount
Auto Trait Implementations§
impl RefUnwindSafe for TransferHookAccount
impl Send for TransferHookAccount
impl Sync for TransferHookAccount
impl Unpin for TransferHookAccount
impl UnwindSafe for TransferHookAccount
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
.