Struct mpl_auction_house::AuctionHouse
source · [−]pub struct AuctionHouse {Show 13 fields
pub auction_house_fee_account: Pubkey,
pub auction_house_treasury: Pubkey,
pub treasury_withdrawal_destination: Pubkey,
pub fee_withdrawal_destination: Pubkey,
pub treasury_mint: Pubkey,
pub authority: Pubkey,
pub creator: Pubkey,
pub bump: u8,
pub treasury_bump: u8,
pub fee_payer_bump: u8,
pub seller_fee_basis_points: u16,
pub requires_sign_off: bool,
pub can_change_sale_price: bool,
}
Fields
auction_house_fee_account: Pubkey
auction_house_treasury: Pubkey
treasury_withdrawal_destination: Pubkey
fee_withdrawal_destination: Pubkey
treasury_mint: Pubkey
creator: Pubkey
bump: u8
treasury_bump: u8
fee_payer_bump: u8
seller_fee_basis_points: u16
requires_sign_off: bool
can_change_sale_price: bool
Trait Implementations
sourceimpl AccountDeserialize for AuctionHouse
impl AccountDeserialize for AuctionHouse
sourcefn try_deserialize(buf: &mut &[u8]) -> Result<Self>
fn try_deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes previously initialized account data. Should fail for all
uninitialized accounts, where the bytes are zeroed. Implementations
should be unique to a particular account type so that one can never
successfully deserialize the data of one account type into another.
For example, if the SPL token program were to implement this trait,
it should be impossible to deserialize a Mint
account into a token
Account
. Read more
sourceimpl AccountSerialize for AuctionHouse
impl AccountSerialize for AuctionHouse
sourceimpl BorshDeserialize for AuctionHouse where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
u8: BorshDeserialize,
u8: BorshDeserialize,
u16: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for AuctionHouse where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u8: BorshDeserialize,
u8: BorshDeserialize,
u8: BorshDeserialize,
u16: BorshDeserialize,
bool: BorshDeserialize,
bool: BorshDeserialize,
sourceimpl BorshSerialize for AuctionHouse where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u8: BorshSerialize,
u8: BorshSerialize,
u8: BorshSerialize,
u16: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
impl BorshSerialize for AuctionHouse where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u8: BorshSerialize,
u8: BorshSerialize,
u8: BorshSerialize,
u16: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
sourceimpl Clone for AuctionHouse
impl Clone for AuctionHouse
sourcefn clone(&self) -> AuctionHouse
fn clone(&self) -> AuctionHouse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Discriminator for AuctionHouse
impl Discriminator for AuctionHouse
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for AuctionHouse
impl Send for AuctionHouse
impl Sync for AuctionHouse
impl Unpin for AuctionHouse
impl UnwindSafe for AuctionHouse
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more