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