pub struct BuiltInstruction {
pub program_id: [u8; 32],
pub data: Vec<u8>,
pub accounts: Vec<AccountMeta>,
}Expand description
One built instruction ready for submission.
Fields§
§program_id: [u8; 32]Program id (32 bytes).
data: Vec<u8>Instruction data.
accounts: Vec<AccountMeta>Ordered account metas.
Trait Implementations§
Source§impl Clone for BuiltInstruction
impl Clone for BuiltInstruction
Source§fn clone(&self) -> BuiltInstruction
fn clone(&self) -> BuiltInstruction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for BuiltInstruction
impl RefUnwindSafe for BuiltInstruction
impl Send for BuiltInstruction
impl Sync for BuiltInstruction
impl Unpin for BuiltInstruction
impl UnsafeUnpin for BuiltInstruction
impl UnwindSafe for BuiltInstruction
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