#[repr(packed)]
pub struct MarketState {
Show 20 fields pub account_flags: u64, pub own_address: [u64; 4], pub vault_signer_nonce: u64, pub coin_mint: [u64; 4], pub pc_mint: [u64; 4], pub coin_vault: [u64; 4], pub coin_deposits_total: u64, pub coin_fees_accrued: u64, pub pc_vault: [u64; 4], pub pc_deposits_total: u64, pub pc_fees_accrued: u64, pub pc_dust_threshold: u64, pub req_q: [u64; 4], pub event_q: [u64; 4], pub bids: [u64; 4], pub asks: [u64; 4], pub coin_lot_size: u64, pub pc_lot_size: u64, pub fee_rate_bps: u64, pub referrer_rebates_accrued: u64,
}

Fields

account_flags: u64own_address: [u64; 4]vault_signer_nonce: u64coin_mint: [u64; 4]pc_mint: [u64; 4]coin_vault: [u64; 4]coin_deposits_total: u64coin_fees_accrued: u64pc_vault: [u64; 4]pc_deposits_total: u64pc_fees_accrued: u64pc_dust_threshold: u64req_q: [u64; 4]event_q: [u64; 4]bids: [u64; 4]asks: [u64; 4]coin_lot_size: u64pc_lot_size: u64fee_rate_bps: u64referrer_rebates_accrued: u64

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.