pub struct InnerInstructions {
pub index: u8,
pub instructions: Vec<Instruction>,
}Expand description
List of inner instructions for a Solana transaction.
Fields§
§index: u8Index of the transaction instruction from which the inner instruction(s) originated.
instructions: Vec<Instruction>Ordered list of inner program instructions that were invoked during a single transaction instruction.
Trait Implementations§
Source§impl CandidType for InnerInstructions
impl CandidType for InnerInstructions
Source§impl Clone for InnerInstructions
impl Clone for InnerInstructions
Source§fn clone(&self) -> InnerInstructions
fn clone(&self) -> InnerInstructions
Returns a duplicate 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 InnerInstructions
impl Debug for InnerInstructions
Source§impl<'de> Deserialize<'de> for InnerInstructions
impl<'de> Deserialize<'de> for InnerInstructions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InnerInstructions> for UiInnerInstructions
impl From<InnerInstructions> for UiInnerInstructions
Source§fn from(instructions: InnerInstructions) -> Self
fn from(instructions: InnerInstructions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InnerInstructions
impl PartialEq for InnerInstructions
Source§impl Serialize for InnerInstructions
impl Serialize for InnerInstructions
impl StructuralPartialEq for InnerInstructions
Auto Trait Implementations§
impl Freeze for InnerInstructions
impl RefUnwindSafe for InnerInstructions
impl Send for InnerInstructions
impl Sync for InnerInstructions
impl Unpin for InnerInstructions
impl UnwindSafe for InnerInstructions
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