pub struct PlaceOrder<'info> {
    pub program: AccountInfo<'info>,
    pub market: AccountInfo<'info>,
    pub request_queue: AccountInfo<'info>,
    pub event_queue: AccountInfo<'info>,
    pub bids: AccountInfo<'info>,
    pub asks: AccountInfo<'info>,
    pub base_vault: AccountInfo<'info>,
    pub quote_vault: AccountInfo<'info>,
    pub token_program: AccountInfo<'info>,
    pub open_orders: AccountInfo<'info>,
    pub order_payer_token_account: AccountInfo<'info>,
    pub user_authority: AccountInfo<'info>,
}

Fields

program: AccountInfo<'info>

CHECK: cpi

market: AccountInfo<'info>

CHECK: cpi

request_queue: AccountInfo<'info>

CHECK: cpi

event_queue: AccountInfo<'info>

CHECK: cpi

bids: AccountInfo<'info>

CHECK: cpi

asks: AccountInfo<'info>

CHECK: cpi

base_vault: AccountInfo<'info>

CHECK: cpi

quote_vault: AccountInfo<'info>

CHECK: cpi

token_program: AccountInfo<'info>

CHECK: cpi

open_orders: AccountInfo<'info>

CHECK: cpi

order_payer_token_account: AccountInfo<'info>

CHECK: cpi

user_authority: AccountInfo<'info>

must cover the open_orders and the order_payer_token_account CHECK: cpi

Implementations

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.