Struct mpl_auction_house::accounts::Cancel
source · [−]pub struct Cancel {
pub wallet: Pubkey,
pub token_account: Pubkey,
pub token_mint: Pubkey,
pub authority: Pubkey,
pub auction_house: Pubkey,
pub auction_house_fee_account: Pubkey,
pub trade_state: Pubkey,
pub token_program: Pubkey,
}
Expand description
Generated client accounts for Cancel
.
Fields
wallet: Pubkey
User wallet account.
token_account: Pubkey
SPL token account containing the token of the sale to be canceled.
token_mint: Pubkey
Token mint account of SPL token.
Auction House instance authority account.
auction_house: Pubkey
Auction House instance PDA account.
auction_house_fee_account: Pubkey
Auction House instance fee account.
trade_state: Pubkey
Trade state PDA account representing the bid or ask to be canceled.
token_program: Pubkey
Trait Implementations
sourceimpl BorshSerialize for Cancelwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for Cancelwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for Cancel
impl ToAccountMetas for Cancel
sourcefn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client. Read moreAuto Trait Implementations
impl RefUnwindSafe for Cancel
impl Send for Cancel
impl Sync for Cancel
impl Unpin for Cancel
impl UnwindSafe for Cancel
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