pub struct Quote {
pub time: DateTime<Utc>,
pub ask_price: Num,
pub ask_size: u64,
pub bid_price: Num,
pub bid_size: u64,
/* private fields */
}Expand description
A quote as returned by the /v2/stocks/quotes/latest endpoint.
Fields§
§time: DateTime<Utc>The time stamp of this quote.
ask_price: NumThe ask price.
ask_size: u64The ask size.
bid_price: NumThe bid price.
bid_size: u64The bid size.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quote
impl<'de> Deserialize<'de> for Quote
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
impl Eq for Quote
impl StructuralPartialEq for Quote
Auto Trait Implementations§
impl Freeze for Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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