Struct phoenix::program::checkers::MintAccountInfo
source · pub struct MintAccountInfo<'a, 'info> {
pub mint: Mint,
pub info: &'a AccountInfo<'info>,
}Fields§
§mint: Mint§info: &'a AccountInfo<'info>Implementations§
source§impl<'a, 'info> MintAccountInfo<'a, 'info>
impl<'a, 'info> MintAccountInfo<'a, 'info>
pub fn new( info: &'a AccountInfo<'info> ) -> Result<MintAccountInfo<'a, 'info>, ProgramError>
Trait Implementations§
source§impl<'a, 'info> AsRef<AccountInfo<'info>> for MintAccountInfo<'a, 'info>
impl<'a, 'info> AsRef<AccountInfo<'info>> for MintAccountInfo<'a, 'info>
source§fn as_ref(&self) -> &AccountInfo<'info>
fn as_ref(&self) -> &AccountInfo<'info>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'a, 'info> Clone for MintAccountInfo<'a, 'info>
impl<'a, 'info> Clone for MintAccountInfo<'a, 'info>
source§fn clone(&self) -> MintAccountInfo<'a, 'info>
fn clone(&self) -> MintAccountInfo<'a, 'info>
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 moreAuto Trait Implementations§
impl<'a, 'info> !RefUnwindSafe for MintAccountInfo<'a, 'info>
impl<'a, 'info> !Send for MintAccountInfo<'a, 'info>
impl<'a, 'info> !Sync for MintAccountInfo<'a, 'info>
impl<'a, 'info> Unpin for MintAccountInfo<'a, 'info>
impl<'a, 'info> !UnwindSafe for MintAccountInfo<'a, '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