pub struct BuyCore {Show 14 fields
pub fee_vault: Pubkey,
pub list_state: Pubkey,
pub asset: Pubkey,
pub collection: Option<Pubkey>,
pub buyer: Pubkey,
pub payer: Pubkey,
pub owner: Pubkey,
pub taker_broker: Option<Pubkey>,
pub maker_broker: Option<Pubkey>,
pub rent_destination: 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§list_state: Pubkey§asset: Pubkey§collection: Option<Pubkey>§buyer: Pubkey§payer: Pubkey§owner: Pubkey§taker_broker: Option<Pubkey>§maker_broker: Option<Pubkey>§rent_destination: Pubkey§mpl_core_program: Pubkey§marketplace_program: Pubkey§system_program: Pubkey§cosigner: Option<Pubkey>Implementations§
Source§impl BuyCore
impl BuyCore
pub fn instruction(&self, args: BuyCoreInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: BuyCoreInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for BuyCore
impl RefUnwindSafe for BuyCore
impl Send for BuyCore
impl Sync for BuyCore
impl Unpin for BuyCore
impl UnwindSafe for BuyCore
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