Struct human_program::InitInstruction
source · #[repr(C)]pub struct InitInstruction {
pub owner: Pubkey,
pub admin: Pubkey,
pub commission: Pubkey,
pub treasury: Pubkey,
pub swap_state: Pubkey,
}
Fields§
§owner: Pubkey
Alice
admin: Pubkey
required for priveleged operations
commission: Pubkey
comission account, could be changed by the admin
treasury: Pubkey
treasury comission
swap_state: Pubkey
swap to deposit liquidity to
Trait Implementations§
source§impl BorshDeserialize for InitInstructionwhere
Pubkey: BorshDeserialize,
impl BorshDeserialize for InitInstructionwhere Pubkey: BorshDeserialize,
source§impl BorshSerialize for InitInstructionwhere
Pubkey: BorshSerialize,
impl BorshSerialize for InitInstructionwhere Pubkey: BorshSerialize,
Auto Trait Implementations§
impl RefUnwindSafe for InitInstruction
impl Send for InitInstruction
impl Sync for InitInstruction
impl Unpin for InitInstruction
impl UnwindSafe for InitInstruction
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