Struct mpl_auction_house::state::AuctionHouse
source · [−]pub struct AuctionHouse {Show 17 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,
pub escrow_payment_bump: u8,
pub has_auctioneer: bool,
pub auctioneer_address: Pubkey,
pub scopes: [bool; 7],
}
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
escrow_payment_bump: u8
has_auctioneer: bool
auctioneer_address: Pubkey
scopes: [bool; 7]
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 moresourcefn try_deserialize_unchecked(buf: &mut &[u8]) -> Result<Self>
fn try_deserialize_unchecked(buf: &mut &[u8]) -> Result<Self>
Deserializes account data without checking the account discriminator.
This should only be used on account initialization, when the bytes of
the account are zeroed. Read more
sourceimpl AccountSerialize for AuctionHouse
impl AccountSerialize for AuctionHouse
sourceimpl BorshDeserialize for AuctionHousewhere
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,
u8: BorshDeserialize,
bool: BorshDeserialize,
Pubkey: BorshDeserialize,
[bool; 7]: BorshDeserialize,
impl BorshDeserialize for AuctionHousewhere
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,
u8: BorshDeserialize,
bool: BorshDeserialize,
Pubkey: BorshDeserialize,
[bool; 7]: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for AuctionHousewhere
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,
u8: BorshSerialize,
bool: BorshSerialize,
Pubkey: BorshSerialize,
[bool; 7]: BorshSerialize,
impl BorshSerialize for AuctionHousewhere
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,
u8: BorshSerialize,
bool: BorshSerialize,
Pubkey: BorshSerialize,
[bool; 7]: 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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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