Struct jet_fixed_term::accounts::InitializeOrderbook
source · [−]pub struct InitializeOrderbook {
pub market: Pubkey,
pub orderbook_market_state: Pubkey,
pub event_queue: Pubkey,
pub bids: Pubkey,
pub asks: Pubkey,
pub authority: Pubkey,
pub airspace: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
}
Expand description
Generated client accounts for InitializeOrderbook
.
Fields
market: Pubkey
The Market
account tracks global information related to this particular Jet market
orderbook_market_state: Pubkey
AOB market state
event_queue: Pubkey
AOB market event queue
Must be initialized
bids: Pubkey
AOB market bids
asks: Pubkey
AOB market asks
The authority that must sign to make this change
airspace: Pubkey
The airspace being modified
payer: Pubkey
The account paying rent for PDA initialization
system_program: Pubkey
Solana system program
Trait Implementations
sourceimpl BorshSerialize for InitializeOrderbookwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for InitializeOrderbookwhere
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl ToAccountMetas for InitializeOrderbook
impl ToAccountMetas for InitializeOrderbook
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 InitializeOrderbook
impl Send for InitializeOrderbook
impl Sync for InitializeOrderbook
impl Unpin for InitializeOrderbook
impl UnwindSafe for InitializeOrderbook
Blanket Implementations
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