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