#[repr(C, packed(1))]pub struct UploaderCreateArgs {
pub buffer_account_idx: u16,
pub meta_account_idx: u16,
pub authority_account_idx: u16,
pub buffer_account_sz: u32,
pub expected_account_hash: [u8; 32],
pub seed_len: u32,
}Expand description
Uploader program CREATE instruction arguments (matches C struct)
Fields§
§buffer_account_idx: u16§meta_account_idx: u16§buffer_account_sz: u32§expected_account_hash: [u8; 32]§seed_len: u32Trait Implementations§
Source§impl Clone for UploaderCreateArgs
impl Clone for UploaderCreateArgs
impl Copy for UploaderCreateArgs
Auto Trait Implementations§
impl Forget for UploaderCreateArgs
impl Freeze for UploaderCreateArgs
impl Move for UploaderCreateArgs
impl RefUnwindSafe for UploaderCreateArgs
impl Send for UploaderCreateArgs
impl Sync for UploaderCreateArgs
impl Unpin for UploaderCreateArgs
impl UnsafeUnpin for UploaderCreateArgs
impl UnwindSafe for UploaderCreateArgs
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