Skip to main content

LevelOneFuturesOptionFields

Struct LevelOneFuturesOptionFields 

Source
pub struct LevelOneFuturesOptionFields;
Expand description

Field numbers and names for LevelOneFuturesOption.

Implementations§

Source§

impl LevelOneFuturesOptionFields

Source

pub const SYMBOL: u32 = 0

Field 0: the subscription key, delivered as key.

Source

pub const BID_PRICE: u32 = 1

Source

pub const ASK_PRICE: u32 = 2

Source

pub const LAST_PRICE: u32 = 3

Source

pub const BID_SIZE: u32 = 4

Source

pub const ASK_SIZE: u32 = 5

Source

pub const BID_ID: u32 = 6

Source

pub const ASK_ID: u32 = 7

Source

pub const TOTAL_VOLUME: u32 = 8

Source

pub const LAST_SIZE: u32 = 9

Source

pub const QUOTE_TIME: u32 = 10

Source

pub const TRADE_TIME: u32 = 11

Source

pub const HIGH_PRICE: u32 = 12

Source

pub const LOW_PRICE: u32 = 13

Source

pub const CLOSE_PRICE: u32 = 14

Source

pub const LAST_ID: u32 = 15

Source

pub const DESCRIPTION: u32 = 16

Source

pub const OPEN_PRICE: u32 = 17

Source

pub const OPEN_INTEREST: u32 = 18

Source

pub const MARK: u32 = 19

Source

pub const TICK: u32 = 20

Source

pub const TICK_AMOUNT: u32 = 21

Source

pub const FUTURE_MULTIPLIER: u32 = 22

Source

pub const FUTURE_SETTLEMENT_PRICE: u32 = 23

Source

pub const UNDERLYING_SYMBOL: u32 = 24

Source

pub const STRIKE_PRICE: u32 = 25

Source

pub const FUTURE_EXPIRATION_DATE: u32 = 26

Source

pub const EXPIRATION_STYLE: u32 = 27

Source

pub const CONTRACT_TYPE: u32 = 28

Source

pub const SECURITY_STATUS: u32 = 29

Source

pub const EXCHANGE: u32 = 30

Source

pub const EXCHANGE_NAME: u32 = 31

Source

pub const FIELDS: &'static [Field]

The table, in field order.

Source

pub fn name(number: u32) -> Option<&'static str>

The name field number decodes to.

Source

pub fn all_fields() -> String

Every field number, comma-separated, for a subscription request.

Trait Implementations§

Source§

impl Clone for LevelOneFuturesOptionFields

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for LevelOneFuturesOptionFields

Source§

impl Debug for LevelOneFuturesOptionFields

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.