pub struct CompiledInstruction {
pub program_id_index: u8,
pub account_indexes: SmallVec<u8, u8>,
pub data: SmallVec<u16, u8>,
}Fields§
§program_id_index: u8§account_indexes: SmallVec<u8, u8>Indices into the tx’s account_keys list indicating which accounts to pass to the instruction.
data: SmallVec<u16, u8>Instruction data.
Trait Implementations§
source§impl BorshDeserialize for CompiledInstructionwhere
u8: BorshDeserialize,
SmallVec<u8, u8>: BorshDeserialize,
SmallVec<u16, u8>: BorshDeserialize,
impl BorshDeserialize for CompiledInstructionwhere u8: BorshDeserialize, SmallVec<u8, u8>: BorshDeserialize, SmallVec<u16, u8>: BorshDeserialize,
source§impl BorshSerialize for CompiledInstructionwhere
u8: BorshSerialize,
SmallVec<u8, u8>: BorshSerialize,
SmallVec<u16, u8>: BorshSerialize,
impl BorshSerialize for CompiledInstructionwhere u8: BorshSerialize, SmallVec<u8, u8>: BorshSerialize, SmallVec<u16, u8>: BorshSerialize,
source§impl Clone for CompiledInstruction
impl Clone for CompiledInstruction
source§fn clone(&self) -> CompiledInstruction
fn clone(&self) -> CompiledInstruction
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 CompiledInstruction
impl Send for CompiledInstruction
impl Sync for CompiledInstruction
impl Unpin for CompiledInstruction
impl UnwindSafe for CompiledInstruction
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