pub struct Serum3LiqForceCancelOrders<'info> {
Show 17 fields pub group: AccountLoader<'info, Group>, pub account: AccountLoader<'info, MangoAccountFixed>, pub open_orders: UncheckedAccount<'info>, pub serum_market: AccountLoader<'info, Serum3Market>, pub serum_program: UncheckedAccount<'info>, pub serum_market_external: UncheckedAccount<'info>, pub market_bids: UncheckedAccount<'info>, pub market_asks: UncheckedAccount<'info>, pub market_event_queue: UncheckedAccount<'info>, pub market_base_vault: UncheckedAccount<'info>, pub market_quote_vault: UncheckedAccount<'info>, pub market_vault_signer: UncheckedAccount<'info>, pub quote_bank: AccountLoader<'info, Bank>, pub quote_vault: Box<Account<'info, TokenAccount>>, pub base_bank: AccountLoader<'info, Bank>, pub base_vault: Box<Account<'info, TokenAccount>>, pub token_program: Program<'info, Token>,
}

Fields

group: AccountLoader<'info, Group>account: AccountLoader<'info, MangoAccountFixed>open_orders: UncheckedAccount<'info>

CHECK: Validated inline by checking against the pubkey stored in the account at #2

serum_market: AccountLoader<'info, Serum3Market>serum_program: UncheckedAccount<'info>

CHECK: The pubkey is checked and then it’s passed to the serum cpi

serum_market_external: UncheckedAccount<'info>

CHECK: The pubkey is checked and then it’s passed to the serum cpi

market_bids: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

market_asks: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

market_event_queue: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

market_base_vault: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

market_quote_vault: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

market_vault_signer: UncheckedAccount<'info>

CHECK: Validated by the serum cpi call

quote_bank: AccountLoader<'info, Bank>quote_vault: Box<Account<'info, TokenAccount>>base_bank: AccountLoader<'info, Bank>base_vault: Box<Account<'info, TokenAccount>>token_program: Program<'info, Token>

Trait Implementations

Returns the validated accounts struct. What constitutes “valid” is program dependent. However, users of these types should never have to worry about account substitution attacks. For example, if a program expects a Mint account from the SPL token program in a particular field, then it should be impossible for this method to return Ok if any other account type is given–from the SPL token program or elsewhere. Read more
program_id is the currently executing program.
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 more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Casts the value.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
Casts the value.
Casts the value.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Casts the value.
Casts the value.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Casts the value.
Casts the value.