pub struct BuyCoreSpl {Show 22 fields
pub fee_vault: Pubkey,
pub fee_vault_currency_ta: Pubkey,
pub buyer: Pubkey,
pub list_state: Pubkey,
pub asset: Pubkey,
pub collection: Option<Pubkey>,
pub currency: Pubkey,
pub owner: Pubkey,
pub owner_currency_ta: Pubkey,
pub payer: Pubkey,
pub payer_currency_ta: Pubkey,
pub taker_broker: Option<Pubkey>,
pub taker_broker_ta: Option<Pubkey>,
pub maker_broker: Option<Pubkey>,
pub maker_broker_ta: Option<Pubkey>,
pub rent_destination: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub mpl_core_program: Pubkey,
pub marketplace_program: Pubkey,
pub system_program: Pubkey,
pub cosigner: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§fee_vault: Pubkey§fee_vault_currency_ta: Pubkey§buyer: Pubkey§list_state: Pubkey§asset: Pubkey§collection: Option<Pubkey>§currency: Pubkey§owner: Pubkey§owner_currency_ta: Pubkey§payer: Pubkey§payer_currency_ta: Pubkey§taker_broker: Option<Pubkey>§taker_broker_ta: Option<Pubkey>§maker_broker: Option<Pubkey>§maker_broker_ta: Option<Pubkey>§rent_destination: Pubkey§token_program: PubkeyToken Program used for the currency.
associated_token_program: Pubkey§mpl_core_program: Pubkey§marketplace_program: Pubkey§system_program: Pubkey§cosigner: Option<Pubkey>Implementations§
Source§impl BuyCoreSpl
impl BuyCoreSpl
pub fn instruction(&self, args: BuyCoreSplInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: BuyCoreSplInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for BuyCoreSpl
impl RefUnwindSafe for BuyCoreSpl
impl Send for BuyCoreSpl
impl Sync for BuyCoreSpl
impl Unpin for BuyCoreSpl
impl UnwindSafe for BuyCoreSpl
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