pub struct TokenAccount { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for TokenAccount
impl Clone for TokenAccount
Source§fn clone(&self) -> TokenAccount
fn clone(&self) -> TokenAccount
Returns a duplicate 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 TokenAccount
impl Debug for TokenAccount
Source§impl Default for TokenAccount
impl Default for TokenAccount
Source§impl From<TokenAccount> for TokenAccount
impl From<TokenAccount> for TokenAccount
Source§fn from(value: TokenAccount) -> Self
fn from(value: TokenAccount) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TokenAccount> for TokenAccount
impl TryFrom<TokenAccount> for TokenAccount
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TokenAccount) -> Result<Self, ConversionError>
fn try_from(value: TokenAccount) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TokenAccount
impl RefUnwindSafe for TokenAccount
impl Send for TokenAccount
impl Sync for TokenAccount
impl Unpin for TokenAccount
impl UnsafeUnpin for TokenAccount
impl UnwindSafe for TokenAccount
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