pub struct OptionQuote {
pub timestamp: DateTime<Utc>,
pub bid_price: f64,
pub bid_size: u64,
pub ask_price: f64,
pub ask_size: u64,
pub bid_exchange: String,
pub ask_exchange: String,
pub conditions: Option<String>,
}Expand description
Option quote data.
Fields§
§timestamp: DateTime<Utc>Quote timestamp.
bid_price: f64Bid price.
bid_size: u64Bid size.
ask_price: f64Ask price.
ask_size: u64Ask size.
bid_exchange: StringBid exchange.
ask_exchange: StringAsk exchange.
conditions: Option<String>Condition flags.
Trait Implementations§
Source§impl Clone for OptionQuote
impl Clone for OptionQuote
Source§fn clone(&self) -> OptionQuote
fn clone(&self) -> OptionQuote
Returns a duplicate 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 OptionQuote
impl Debug for OptionQuote
Source§impl<'de> Deserialize<'de> for OptionQuote
impl<'de> Deserialize<'de> for OptionQuote
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OptionQuote, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OptionQuote, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OptionQuote
impl Serialize for OptionQuote
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OptionQuote
impl RefUnwindSafe for OptionQuote
impl Send for OptionQuote
impl Sync for OptionQuote
impl Unpin for OptionQuote
impl UnwindSafe for OptionQuote
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