pub struct CreateUserRewardDebt {
pub user: Address,
pub payer: Address,
pub staking_mint: Address,
pub reward_mint: Address,
pub staking_config: Address,
pub reward_state: Address,
pub user_stake_position: Address,
pub user_reward_debt: Address,
pub system_program: Address,
}Expand description
Accounts.
Fields§
§user: Address§payer: Address§staking_mint: Address§reward_mint: Address§staking_config: Address§reward_state: Address§user_stake_position: Address§user_reward_debt: Address§system_program: AddressImplementations§
Source§impl CreateUserRewardDebt
impl CreateUserRewardDebt
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateUserRewardDebt
impl RefUnwindSafe for CreateUserRewardDebt
impl Send for CreateUserRewardDebt
impl Sync for CreateUserRewardDebt
impl Unpin for CreateUserRewardDebt
impl UnsafeUnpin for CreateUserRewardDebt
impl UnwindSafe for CreateUserRewardDebt
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