Struct phoenix::program::checkers::token_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 more