pub struct CheckedTokenMint<'info> { /* private fields */ }Expand description
Proof token that an SPL TokenAccount matched an expected mint.
Implementations§
Source§impl<'info> CheckedTokenMint<'info>
impl<'info> CheckedTokenMint<'info>
pub const fn account(&self) -> ExternalAccount<'info, SplTokenAccount>
pub const fn mint(&self) -> Address
Trait Implementations§
Auto Trait Implementations§
impl<'info> !Send for CheckedTokenMint<'info>
impl<'info> !Sync for CheckedTokenMint<'info>
impl<'info> Freeze for CheckedTokenMint<'info>
impl<'info> RefUnwindSafe for CheckedTokenMint<'info>
impl<'info> Unpin for CheckedTokenMint<'info>
impl<'info> UnsafeUnpin for CheckedTokenMint<'info>
impl<'info> UnwindSafe for CheckedTokenMint<'info>
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