pub struct InitUpdateMintProofV2 {
pub payer: Pubkey,
pub mint: Pubkey,
pub whitelist: Pubkey,
pub mint_proof: Pubkey,
pub system_program: Pubkey,
}
Expand description
Accounts.
Fields§
§payer: Pubkey
Rent payer for the mint proof account if it is initialized.
mint: Pubkey
The mint or asset account for which the proof is being created.
whitelist: Pubkey
The whitelist account that the mint proof must validate against.
mint_proof: Pubkey
The mint proof account to initialize or update.
system_program: Pubkey
The Solana system program account.
Implementations§
Source§impl InitUpdateMintProofV2
impl InitUpdateMintProofV2
pub fn instruction( &self, args: InitUpdateMintProofV2InstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: InitUpdateMintProofV2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for InitUpdateMintProofV2
impl RefUnwindSafe for InitUpdateMintProofV2
impl Send for InitUpdateMintProofV2
impl Sync for InitUpdateMintProofV2
impl Unpin for InitUpdateMintProofV2
impl UnwindSafe for InitUpdateMintProofV2
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more