pub struct CreateApproveInstructionInputs {Show 13 fields
pub fee_payer: Pubkey,
pub authority: Pubkey,
pub root_indices: Vec<u16>,
pub proof: CompressedProof,
pub input_token_data: Vec<TokenData>,
pub input_compressed_accounts: Vec<CompressedAccount>,
pub input_merkle_contexts: Vec<MerkleContext>,
pub mint: Pubkey,
pub delegated_amount: u64,
pub delegate_lamports: Option<u64>,
pub delegated_compressed_account_merkle_tree: Pubkey,
pub change_compressed_account_merkle_tree: Pubkey,
pub delegate: Pubkey,
}Fields§
§fee_payer: Pubkey§root_indices: Vec<u16>§proof: CompressedProof§input_token_data: Vec<TokenData>§input_compressed_accounts: Vec<CompressedAccount>§input_merkle_contexts: Vec<MerkleContext>§mint: Pubkey§delegated_amount: u64§delegate_lamports: Option<u64>§delegated_compressed_account_merkle_tree: Pubkey§change_compressed_account_merkle_tree: Pubkey§delegate: PubkeyAuto Trait Implementations§
impl Freeze for CreateApproveInstructionInputs
impl RefUnwindSafe for CreateApproveInstructionInputs
impl Send for CreateApproveInstructionInputs
impl Sync for CreateApproveInstructionInputs
impl Unpin for CreateApproveInstructionInputs
impl UnwindSafe for CreateApproveInstructionInputs
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