pub struct WithdrawCollateralLegacy {Show 25 fields
pub signer: Pubkey,
pub order_state: Pubkey,
pub order_vault: Pubkey,
pub maker: Pubkey,
pub taker: Pubkey,
pub destination: Pubkey,
pub system: Pubkey,
pub tlock_program: Pubkey,
pub mint: Pubkey,
pub metadata: Pubkey,
pub order_vault_ta: Pubkey,
pub destination_ta: Pubkey,
pub edition: Pubkey,
pub order_token_record: Option<Pubkey>,
pub destination_token_record: Option<Pubkey>,
pub token_metadata_program: Pubkey,
pub instructions: Pubkey,
pub authorization_rules_program: Pubkey,
pub auth_rules: Option<Pubkey>,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub system_program: Pubkey,
pub whitelist: Pubkey,
pub mint_proof: Option<Pubkey>,
pub order_nft_receipt: Pubkey,
}Expand description
Accounts.
Fields§
§signer: Pubkey§order_state: Pubkey§order_vault: Pubkey§maker: Pubkey§taker: Pubkey§destination: Pubkey§system: Pubkey§tlock_program: Pubkey§mint: Pubkey§metadata: Pubkey§order_vault_ta: Pubkey§destination_ta: Pubkey§edition: Pubkey§order_token_record: Option<Pubkey>§destination_token_record: Option<Pubkey>§token_metadata_program: Pubkey§instructions: Pubkey§auth_rules: Option<Pubkey>§token_program: Pubkey§associated_token_program: Pubkey§system_program: Pubkey§whitelist: Pubkey§mint_proof: Option<Pubkey>§order_nft_receipt: PubkeyImplementations§
Source§impl WithdrawCollateralLegacy
impl WithdrawCollateralLegacy
pub fn instruction( &self, args: WithdrawCollateralLegacyInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: WithdrawCollateralLegacyInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for WithdrawCollateralLegacy
impl RefUnwindSafe for WithdrawCollateralLegacy
impl Send for WithdrawCollateralLegacy
impl Sync for WithdrawCollateralLegacy
impl Unpin for WithdrawCollateralLegacy
impl UnsafeUnpin for WithdrawCollateralLegacy
impl UnwindSafe for WithdrawCollateralLegacy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more