Struct solana_program::sysvar::instructions::BorrowedInstruction
source · [−]pub struct BorrowedInstruction<'a> {
pub program_id: &'a Pubkey,
pub accounts: Vec<BorrowedAccountMeta<'a>>,
pub data: &'a [u8],
}
Expand description
Borrowed version of Instruction
Fields
program_id: &'a Pubkey
accounts: Vec<BorrowedAccountMeta<'a>>
data: &'a [u8]
Auto Trait Implementations
impl<'a> RefUnwindSafe for BorrowedInstruction<'a>
impl<'a> Send for BorrowedInstruction<'a>
impl<'a> Sync for BorrowedInstruction<'a>
impl<'a> Unpin for BorrowedInstruction<'a>
impl<'a> UnwindSafe for BorrowedInstruction<'a>
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more