#[repr(C, packed(1))]pub struct TestUploaderWriteArgs {
pub target_account_idx: u16,
pub target_offset: u32,
pub data_len: u32,
}Expand description
Test uploader program WRITE instruction arguments (matches C struct)
Fields§
§target_account_idx: u16§target_offset: u32§data_len: u32Trait Implementations§
Source§impl Clone for TestUploaderWriteArgs
impl Clone for TestUploaderWriteArgs
Source§fn clone(&self) -> TestUploaderWriteArgs
fn clone(&self) -> TestUploaderWriteArgs
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 TestUploaderWriteArgs
impl Debug for TestUploaderWriteArgs
impl Copy for TestUploaderWriteArgs
Auto Trait Implementations§
impl Freeze for TestUploaderWriteArgs
impl RefUnwindSafe for TestUploaderWriteArgs
impl Send for TestUploaderWriteArgs
impl Sync for TestUploaderWriteArgs
impl Unpin for TestUploaderWriteArgs
impl UnwindSafe for TestUploaderWriteArgs
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