pub struct ListLegacy {Show 19 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 metadata: Pubkey,
pub edition: Pubkey,
pub owner_token_record: Option<Pubkey>,
pub list_token_record: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
pub authorization_rules_program: Option<Pubkey>,
pub token_metadata_program: Option<Pubkey>,
pub sysvar_instructions: Option<Pubkey>,
pub cosigner: 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§metadata: Pubkey§edition: Pubkey§owner_token_record: Option<Pubkey>§list_token_record: Option<Pubkey>§token_metadata_program: Option<Pubkey>§sysvar_instructions: Option<Pubkey>§cosigner: Option<Pubkey>Implementations§
Source§impl ListLegacy
impl ListLegacy
pub fn instruction(&self, args: ListLegacyInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: ListLegacyInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for ListLegacy
impl RefUnwindSafe for ListLegacy
impl Send for ListLegacy
impl Sync for ListLegacy
impl Unpin for ListLegacy
impl UnwindSafe for ListLegacy
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