pub struct MultisigCompiledInstruction {
pub program_id_index: u8,
pub account_indexes: Vec<u8>,
pub data: Vec<u8>,
}Expand description
Concise serialization schema for instructions that make up a transaction. Closely mimics the Solana transaction wire format.
Fields§
§program_id_index: u8§account_indexes: Vec<u8>Indices into the tx’s account_keys list indicating which accounts to pass to the instruction.
data: Vec<u8>Instruction data.
Trait Implementations§
source§impl BorshDeserialize for MultisigCompiledInstructionwhere
u8: BorshDeserialize,
Vec<u8>: BorshDeserialize,
impl BorshDeserialize for MultisigCompiledInstructionwhere u8: BorshDeserialize, Vec<u8>: BorshDeserialize,
source§impl BorshSerialize for MultisigCompiledInstructionwhere
u8: BorshSerialize,
Vec<u8>: BorshSerialize,
impl BorshSerialize for MultisigCompiledInstructionwhere u8: BorshSerialize, Vec<u8>: BorshSerialize,
source§impl Clone for MultisigCompiledInstruction
impl Clone for MultisigCompiledInstruction
source§fn clone(&self) -> MultisigCompiledInstruction
fn clone(&self) -> MultisigCompiledInstruction
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 From<CompiledInstruction> for MultisigCompiledInstruction
impl From<CompiledInstruction> for MultisigCompiledInstruction
source§fn from(compiled_instruction: CompiledInstruction) -> Self
fn from(compiled_instruction: CompiledInstruction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MultisigCompiledInstruction
impl Send for MultisigCompiledInstruction
impl Sync for MultisigCompiledInstruction
impl Unpin for MultisigCompiledInstruction
impl UnwindSafe for MultisigCompiledInstruction
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