pub struct AddSubAccount {
pub main: Pubkey,
pub lst_controller: Pubkey,
pub admin_permissions: Pubkey,
pub admin: Pubkey,
pub drift: Pubkey,
pub state: Pubkey,
pub user_stats: Pubkey,
pub user_account: Pubkey,
pub rent: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§main: Pubkey§lst_controller: Pubkey§admin_permissions: Pubkey§admin: Pubkey§drift: Pubkey§state: Pubkey§user_stats: Pubkey§user_account: Pubkey§rent: Pubkey§system_program: PubkeyImplementations§
Source§impl AddSubAccount
impl AddSubAccount
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddSubAccount
impl RefUnwindSafe for AddSubAccount
impl Send for AddSubAccount
impl Sync for AddSubAccount
impl Unpin for AddSubAccount
impl UnsafeUnpin for AddSubAccount
impl UnwindSafe for AddSubAccount
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