pub struct AftermarketQuote {
pub symbol: String,
pub bid_size: Option<f64>,
pub bid_price: Option<f64>,
pub ask_size: Option<f64>,
pub ask_price: Option<f64>,
pub volume: Option<f64>,
pub timestamp: u64,
}Expand description
An after-hours bid/ask snapshot from aftermarket-quote.
Fields§
§symbol: String§bid_size: Option<f64>§bid_price: Option<f64>§ask_size: Option<f64>§ask_price: Option<f64>§volume: Option<f64>§timestamp: u64Unix milliseconds.
Trait Implementations§
Source§impl Clone for AftermarketQuote
impl Clone for AftermarketQuote
Source§impl Debug for AftermarketQuote
impl Debug for AftermarketQuote
Source§impl<'de> Deserialize<'de> for AftermarketQuote
impl<'de> Deserialize<'de> for AftermarketQuote
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 PartialEq for AftermarketQuote
impl PartialEq for AftermarketQuote
Source§impl Serialize for AftermarketQuote
impl Serialize for AftermarketQuote
impl StructuralPartialEq for AftermarketQuote
Auto Trait Implementations§
impl Freeze for AftermarketQuote
impl RefUnwindSafe for AftermarketQuote
impl Send for AftermarketQuote
impl Sync for AftermarketQuote
impl Unpin for AftermarketQuote
impl UnsafeUnpin for AftermarketQuote
impl UnwindSafe for AftermarketQuote
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