#[repr(transparent)]pub struct TransferHookAccount {
pub transferring: Bool,
}Expand description
Indicates that the tokens from this account belong to a mint with a transfer hook
Fields§
§transferring: BoolFlag 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransferHookAccount
Source§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
Tests for
self and other values to be equal, and is used by ==.impl Pod for TransferHookAccount
impl StructuralPartialEq for TransferHookAccount
Auto Trait Implementations§
impl Freeze for TransferHookAccount
impl RefUnwindSafe for TransferHookAccount
impl Send for TransferHookAccount
impl Sync for TransferHookAccount
impl Unpin for TransferHookAccount
impl UnsafeUnpin for TransferHookAccount
impl UnwindSafe for TransferHookAccount
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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,
Source§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.