Struct phoenix::program::accounts::MarketSizeParams
source · #[repr(C)]pub struct MarketSizeParams {
pub bids_size: u64,
pub asks_size: u64,
pub num_seats: u64,
}Fields§
§bids_size: u64§asks_size: u64§num_seats: u64Trait Implementations§
source§impl BorshDeserialize for MarketSizeParamswhere
u64: BorshDeserialize,
impl BorshDeserialize for MarketSizeParamswhere u64: BorshDeserialize,
source§impl BorshSerialize for MarketSizeParamswhere
u64: BorshSerialize,
impl BorshSerialize for MarketSizeParamswhere u64: BorshSerialize,
source§impl Clone for MarketSizeParams
impl Clone for MarketSizeParams
source§fn clone(&self) -> MarketSizeParams
fn clone(&self) -> MarketSizeParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MarketSizeParams
impl Debug for MarketSizeParams
source§impl Default for MarketSizeParams
impl Default for MarketSizeParams
source§fn default() -> MarketSizeParams
fn default() -> MarketSizeParams
Returns the “default value” for a type. Read more
source§impl ZeroCopy for MarketSizeParams
impl ZeroCopy for MarketSizeParams
impl Copy for MarketSizeParams
impl Pod for MarketSizeParams
Auto Trait Implementations§
impl RefUnwindSafe for MarketSizeParams
impl Send for MarketSizeParams
impl Sync for MarketSizeParams
impl Unpin for MarketSizeParams
impl UnwindSafe for MarketSizeParams
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.