pub struct OpenPosition {
pub funder: Pubkey,
pub owner: Pubkey,
pub position: Pubkey,
pub position_mint: Pubkey,
pub position_token_account: Pubkey,
pub fusion_pool: Pubkey,
pub token2022_program: Pubkey,
pub system_program: Pubkey,
pub associated_token_program: Pubkey,
pub metadata_update_auth: Pubkey,
}
Expand description
Accounts.
Fields§
§funder: Pubkey
§owner: Pubkey
§position: Pubkey
§position_mint: Pubkey
§position_token_account: Pubkey
§fusion_pool: Pubkey
§token2022_program: Pubkey
§system_program: Pubkey
§associated_token_program: Pubkey
§metadata_update_auth: Pubkey
Implementations§
Source§impl OpenPosition
impl OpenPosition
pub fn instruction(&self, args: OpenPositionInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: OpenPositionInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenPosition
impl RefUnwindSafe for OpenPosition
impl Send for OpenPosition
impl Sync for OpenPosition
impl Unpin for OpenPosition
impl UnwindSafe for OpenPosition
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