pub struct ClosePosition {
pub position: Pubkey,
pub lb_pair: Pubkey,
pub bin_array_lower: Pubkey,
pub bin_array_upper: Pubkey,
pub sender: Pubkey,
pub rent_receiver: Pubkey,
pub event_authority: Pubkey,
pub program: Pubkey,
}Expand description
Accounts.
Fields§
§position: Pubkey§lb_pair: Pubkey§bin_array_lower: Pubkey§bin_array_upper: Pubkey§sender: Pubkey§rent_receiver: Pubkey§program: PubkeyImplementations§
Source§impl ClosePosition
impl ClosePosition
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClosePosition
impl RefUnwindSafe for ClosePosition
impl Send for ClosePosition
impl Sync for ClosePosition
impl Unpin for ClosePosition
impl UnsafeUnpin for ClosePosition
impl UnwindSafe for ClosePosition
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