pub struct ListWns {Show 17 fields
pub owner: Pubkey,
pub owner_ta: Pubkey,
pub list_state: Pubkey,
pub list_ta: Pubkey,
pub mint: Pubkey,
pub payer: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub marketplace_program: Pubkey,
pub system_program: Pubkey,
pub approve: Pubkey,
pub distribution: Pubkey,
pub wns_program: Pubkey,
pub distribution_program: Pubkey,
pub extra_metas: Pubkey,
pub cosigner: Option<Pubkey>,
pub currency: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§owner: Pubkey§owner_ta: Pubkey§list_state: Pubkey§list_ta: Pubkey§mint: Pubkey§payer: Pubkey§token_program: Pubkey§associated_token_program: Pubkey§marketplace_program: Pubkey§system_program: Pubkey§approve: Pubkey§distribution: Pubkey§wns_program: Pubkey§distribution_program: Pubkey§extra_metas: Pubkey§cosigner: Option<Pubkey>§currency: Option<Pubkey>SPL token mint of the currency.
Implementations§
Source§impl ListWns
impl ListWns
pub fn instruction(&self, args: ListWnsInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: ListWnsInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for ListWns
impl RefUnwindSafe for ListWns
impl Send for ListWns
impl Sync for ListWns
impl Unpin for ListWns
impl UnwindSafe for ListWns
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
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