pub struct InstructionDataInvokeCpi {
pub proof: Option<CompressedProof>,
pub new_address_params: Vec<NewAddressParamsPacked>,
pub input_root_indices: Vec<u16>,
pub input_compressed_accounts_with_merkle_context: Vec<PackedCompressedAccountWithMerkleContext>,
pub output_compressed_accounts: Vec<CompressedAccount>,
pub output_state_merkle_tree_account_indices: Vec<u8>,
pub relay_fee: Option<u64>,
pub compression_lamports: Option<u64>,
pub is_compress: bool,
pub signer_seeds: Vec<Vec<u8>>,
pub cpi_context: Option<CompressedCpiContext>,
}
Fields§
§proof: Option<CompressedProof>
§new_address_params: Vec<NewAddressParamsPacked>
§input_root_indices: Vec<u16>
§input_compressed_accounts_with_merkle_context: Vec<PackedCompressedAccountWithMerkleContext>
§output_compressed_accounts: Vec<CompressedAccount>
§output_state_merkle_tree_account_indices: Vec<u8>
The indices of the accounts in the output state merkle tree.
relay_fee: Option<u64>
§compression_lamports: Option<u64>
§is_compress: bool
§signer_seeds: Vec<Vec<u8>>
§cpi_context: Option<CompressedCpiContext>
Implementations§
source§impl InstructionDataInvokeCpi
impl InstructionDataInvokeCpi
pub fn combine(&mut self, other: &[InstructionDataInvokeCpi])
Trait Implementations§
source§impl BorshDeserialize for InstructionDataInvokeCpiwhere
Option<CompressedProof>: BorshDeserialize,
Vec<NewAddressParamsPacked>: BorshDeserialize,
Vec<u16>: BorshDeserialize,
Vec<PackedCompressedAccountWithMerkleContext>: BorshDeserialize,
Vec<CompressedAccount>: BorshDeserialize,
Vec<u8>: BorshDeserialize,
Option<u64>: BorshDeserialize,
bool: BorshDeserialize,
Vec<Vec<u8>>: BorshDeserialize,
Option<CompressedCpiContext>: BorshDeserialize,
impl BorshDeserialize for InstructionDataInvokeCpiwhere
Option<CompressedProof>: BorshDeserialize,
Vec<NewAddressParamsPacked>: BorshDeserialize,
Vec<u16>: BorshDeserialize,
Vec<PackedCompressedAccountWithMerkleContext>: BorshDeserialize,
Vec<CompressedAccount>: BorshDeserialize,
Vec<u8>: BorshDeserialize,
Option<u64>: BorshDeserialize,
bool: BorshDeserialize,
Vec<Vec<u8>>: BorshDeserialize,
Option<CompressedCpiContext>: BorshDeserialize,
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for InstructionDataInvokeCpiwhere
Option<CompressedProof>: BorshSerialize,
Vec<NewAddressParamsPacked>: BorshSerialize,
Vec<u16>: BorshSerialize,
Vec<PackedCompressedAccountWithMerkleContext>: BorshSerialize,
Vec<CompressedAccount>: BorshSerialize,
Vec<u8>: BorshSerialize,
Option<u64>: BorshSerialize,
bool: BorshSerialize,
Vec<Vec<u8>>: BorshSerialize,
Option<CompressedCpiContext>: BorshSerialize,
impl BorshSerialize for InstructionDataInvokeCpiwhere
Option<CompressedProof>: BorshSerialize,
Vec<NewAddressParamsPacked>: BorshSerialize,
Vec<u16>: BorshSerialize,
Vec<PackedCompressedAccountWithMerkleContext>: BorshSerialize,
Vec<CompressedAccount>: BorshSerialize,
Vec<u8>: BorshSerialize,
Option<u64>: BorshSerialize,
bool: BorshSerialize,
Vec<Vec<u8>>: BorshSerialize,
Option<CompressedCpiContext>: BorshSerialize,
source§impl Clone for InstructionDataInvokeCpi
impl Clone for InstructionDataInvokeCpi
source§fn clone(&self) -> InstructionDataInvokeCpi
fn clone(&self) -> InstructionDataInvokeCpi
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 moresource§impl Debug for InstructionDataInvokeCpi
impl Debug for InstructionDataInvokeCpi
source§impl Default for InstructionDataInvokeCpi
impl Default for InstructionDataInvokeCpi
source§fn default() -> InstructionDataInvokeCpi
fn default() -> InstructionDataInvokeCpi
Returns the “default value” for a type. Read more
source§impl PartialEq for InstructionDataInvokeCpi
impl PartialEq for InstructionDataInvokeCpi
source§fn eq(&self, other: &InstructionDataInvokeCpi) -> bool
fn eq(&self, other: &InstructionDataInvokeCpi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstructionDataInvokeCpi
Auto Trait Implementations§
impl Freeze for InstructionDataInvokeCpi
impl RefUnwindSafe for InstructionDataInvokeCpi
impl Send for InstructionDataInvokeCpi
impl Sync for InstructionDataInvokeCpi
impl Unpin for InstructionDataInvokeCpi
impl UnwindSafe for InstructionDataInvokeCpi
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