pub struct InstructionFrame<'ix_data> {
pub nesting_level: usize,
pub program_account_index_in_tx: IndexOfAccount,
pub instruction_accounts: Vec<InstructionAccount>,
pub instruction_data: Cow<'ix_data, [u8]>,
/* private fields */
}Expand description
Instruction shared between runtime and programs.
Fields§
§nesting_level: usize§program_account_index_in_tx: IndexOfAccount§instruction_accounts: Vec<InstructionAccount>§instruction_data: Cow<'ix_data, [u8]>Trait Implementations§
Source§impl<'ix_data> Clone for InstructionFrame<'ix_data>
impl<'ix_data> Clone for InstructionFrame<'ix_data>
Source§fn clone(&self) -> InstructionFrame<'ix_data>
fn clone(&self) -> InstructionFrame<'ix_data>
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<'ix_data> Debug for InstructionFrame<'ix_data>
impl<'ix_data> Debug for InstructionFrame<'ix_data>
Source§impl<'ix_data> Default for InstructionFrame<'ix_data>
impl<'ix_data> Default for InstructionFrame<'ix_data>
Source§fn default() -> InstructionFrame<'ix_data>
fn default() -> InstructionFrame<'ix_data>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'ix_data> Freeze for InstructionFrame<'ix_data>
impl<'ix_data> RefUnwindSafe for InstructionFrame<'ix_data>
impl<'ix_data> Send for InstructionFrame<'ix_data>
impl<'ix_data> Sync for InstructionFrame<'ix_data>
impl<'ix_data> Unpin for InstructionFrame<'ix_data>
impl<'ix_data> UnwindSafe for InstructionFrame<'ix_data>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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