pub struct AnyIx {
pub num_instructions: u8,
pub instruction_data_sizes: Vec<u8>,
pub instruction_account_counts: Vec<u8>,
pub instruction_datas: Vec<Vec<u8>>,
}Fields§
§num_instructions: u8the total number of individual instructions
instruction_data_sizes: Vec<u8>§instruction_account_counts: Vec<u8>the number of accounts to use for a single instruction for example of this field is set to vec![10, 5], then the first instruction uses 10 accounts, with the second instruction using 5 accounts
instruction_datas: Vec<Vec<u8>>a vector of vectors, where each element is the instruction data to pass for instruction_datas[N]
Implementations§
Trait Implementations§
impl Eq for AnyIx
impl StructuralPartialEq for AnyIx
Auto Trait Implementations§
impl Freeze for AnyIx
impl RefUnwindSafe for AnyIx
impl Send for AnyIx
impl Sync for AnyIx
impl Unpin for AnyIx
impl UnwindSafe for AnyIx
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