pub struct LevelOneFuturesOption {Show 35 fields
pub key: String,
pub delayed: Option<bool>,
pub asset_main_type: Option<AssetMainType>,
pub bid_price: Option<f64>,
pub ask_price: Option<f64>,
pub last_price: Option<f64>,
pub bid_size: Option<i64>,
pub ask_size: Option<i64>,
pub bid_id: Option<String>,
pub ask_id: Option<String>,
pub total_volume: Option<i64>,
pub last_size: Option<i64>,
pub quote_time: Option<i64>,
pub trade_time: Option<i64>,
pub high_price: Option<f64>,
pub low_price: Option<f64>,
pub close_price: Option<f64>,
pub last_id: Option<String>,
pub description: Option<String>,
pub open_price: Option<f64>,
pub open_interest: Option<f64>,
pub mark: Option<f64>,
pub tick: Option<f64>,
pub tick_amount: Option<f64>,
pub future_multiplier: Option<f64>,
pub future_settlement_price: Option<f64>,
pub underlying_symbol: Option<String>,
pub strike_price: Option<f64>,
pub future_expiration_date: Option<i64>,
pub expiration_style: Option<String>,
pub contract_type: Option<String>,
pub security_status: Option<String>,
pub exchange: Option<String>,
pub exchange_name: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A LEVELONE_FUTURES_OPTIONS quote. Deltas carry only the changed fields.
Fields§
§key: StringThe subscription key (field 0).
delayed: Option<bool>§asset_main_type: Option<AssetMainType>§bid_price: Option<f64>§ask_price: Option<f64>§last_price: Option<f64>§bid_size: Option<i64>§ask_size: Option<i64>§bid_id: Option<String>Exchange code of the bid.
ask_id: Option<String>Exchange code of the ask.
total_volume: Option<i64>§last_size: Option<i64>§quote_time: Option<i64>Epoch milliseconds.
trade_time: Option<i64>Epoch milliseconds.
high_price: Option<f64>§low_price: Option<f64>§close_price: Option<f64>Previous day’s close.
last_id: Option<String>Exchange code of the last trade.
description: Option<String>§open_price: Option<f64>§open_interest: Option<f64>§mark: Option<f64>§tick: Option<f64>Minimum price movement.
tick_amount: Option<f64>Money value of one tick.
future_multiplier: Option<f64>§future_settlement_price: Option<f64>§underlying_symbol: Option<String>§strike_price: Option<f64>§future_expiration_date: Option<i64>Epoch milliseconds.
expiration_style: Option<String>§contract_type: Option<String>C or P.
security_status: Option<String>§exchange: Option<String>§exchange_name: Option<String>§extra: HashMap<String, Value>Fields the table does not describe, by wire key.
Implementations§
Source§impl LevelOneFuturesOption
impl LevelOneFuturesOption
Sourcepub fn from_content(content: &DataContent) -> Result<Self, Error>
pub fn from_content(content: &DataContent) -> Result<Self, Error>
Decode a content item using LevelOneFuturesOptionFields::FIELDS.
Trait Implementations§
Source§impl Clone for LevelOneFuturesOption
impl Clone for LevelOneFuturesOption
Source§impl Debug for LevelOneFuturesOption
impl Debug for LevelOneFuturesOption
Source§impl Default for LevelOneFuturesOption
impl Default for LevelOneFuturesOption
Source§impl<'de> Deserialize<'de> for LevelOneFuturesOption
impl<'de> Deserialize<'de> for LevelOneFuturesOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LevelOneFuturesOption
Available on crate feature schemars only.
impl JsonSchema for LevelOneFuturesOption
Available on crate feature
schemars only.Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LevelOneFuturesOption
impl PartialEq for LevelOneFuturesOption
Source§impl Serialize for LevelOneFuturesOption
impl Serialize for LevelOneFuturesOption
impl StructuralPartialEq for LevelOneFuturesOption
Auto Trait Implementations§
impl Freeze for LevelOneFuturesOption
impl RefUnwindSafe for LevelOneFuturesOption
impl Send for LevelOneFuturesOption
impl Sync for LevelOneFuturesOption
impl Unpin for LevelOneFuturesOption
impl UnsafeUnpin for LevelOneFuturesOption
impl UnwindSafe for LevelOneFuturesOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more