pub struct InstructionView<'a, 'b, 'c, 'd>where
'a: 'b,{
pub program_id: &'c Address,
pub data: &'d [u8],
pub accounts: &'b [InstructionAccount<'a>],
}Expand description
A view of a cross-program invocation instruction. Information about an instruction.
Fields§
§program_id: &'c AddressAddress of the program.
data: &'d [u8]Data expected by the program instruction.
accounts: &'b [InstructionAccount<'a>]Metadata describing the accounts that should be passed to the program.
Trait Implementations§
Source§impl<'a, 'b, 'c, 'd> Clone for InstructionView<'a, 'b, 'c, 'd>where
'a: 'b,
impl<'a, 'b, 'c, 'd> Clone for InstructionView<'a, 'b, 'c, 'd>where
'a: 'b,
Source§fn clone(&self) -> InstructionView<'a, 'b, 'c, 'd>
fn clone(&self) -> InstructionView<'a, 'b, 'c, 'd>
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 moreAuto Trait Implementations§
impl<'a, 'b, 'c, 'd> Freeze for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> RefUnwindSafe for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Send for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Sync for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Unpin for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> UnsafeUnpin for InstructionView<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> UnwindSafe for InstructionView<'a, 'b, 'c, 'd>
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