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