#[repr(C)]pub struct DefaultAccountState {
pub state: u8,
}
Expand description
Default Account::state extension data for mints.
Fields
state: u8
Default Account::state in which new Accounts should be initialized
Trait Implementations
sourceimpl Clone for DefaultAccountState
impl Clone for DefaultAccountState
sourcefn clone(&self) -> DefaultAccountState
fn clone(&self) -> DefaultAccountState
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 DefaultAccountState
impl Debug for DefaultAccountState
sourceimpl Default for DefaultAccountState
impl Default for DefaultAccountState
sourcefn default() -> DefaultAccountState
fn default() -> DefaultAccountState
Returns the “default value” for a type. Read more
sourceimpl Extension for DefaultAccountState
impl Extension for DefaultAccountState
sourceconst TYPE: ExtensionType
const TYPE: ExtensionType
Associated extension type enum, checked at the start of TLV entries
sourceimpl PartialEq<DefaultAccountState> for DefaultAccountState
impl PartialEq<DefaultAccountState> for DefaultAccountState
sourcefn eq(&self, other: &DefaultAccountState) -> bool
fn eq(&self, other: &DefaultAccountState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefaultAccountState) -> bool
fn ne(&self, other: &DefaultAccountState) -> bool
This method tests for !=
.
impl Copy for DefaultAccountState
impl Pod for DefaultAccountState
impl StructuralPartialEq for DefaultAccountState
Auto Trait Implementations
impl RefUnwindSafe for DefaultAccountState
impl Send for DefaultAccountState
impl Sync for DefaultAccountState
impl Unpin for DefaultAccountState
impl UnwindSafe for DefaultAccountState
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