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