#[repr(C, packed(1))]pub struct ManagerCreateArgs {
pub discriminant: u8,
pub meta_account_idx: u16,
pub program_account_idx: u16,
pub srcbuf_account_idx: u16,
pub srcbuf_offset: u32,
pub srcbuf_size: u32,
pub srcbuf_sha256: [u8; 32],
pub authority_account_idx: u16,
pub seed_len: u32,
}Expand description
Manager program CREATE instruction arguments (matches C struct)
Fields§
§discriminant: u8§meta_account_idx: u16§program_account_idx: u16§srcbuf_account_idx: u16§srcbuf_offset: u32§srcbuf_size: u32§srcbuf_sha256: [u8; 32]SHA-256 of exactly srcbuf[offset, offset + size); the manager rejects
any other bytes, so the buffer cannot be swapped after approval.
seed_len: u32Trait Implementations§
Source§impl Clone for ManagerCreateArgs
impl Clone for ManagerCreateArgs
impl Copy for ManagerCreateArgs
Auto Trait Implementations§
impl Forget for ManagerCreateArgs
impl Freeze for ManagerCreateArgs
impl Move for ManagerCreateArgs
impl RefUnwindSafe for ManagerCreateArgs
impl Send for ManagerCreateArgs
impl Sync for ManagerCreateArgs
impl Unpin for ManagerCreateArgs
impl UnsafeUnpin for ManagerCreateArgs
impl UnwindSafe for ManagerCreateArgs
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