pub struct StreamQuote {
pub msg_type: String,
pub symbol: String,
pub bx: Option<String>,
pub bp: f64,
pub bs: f64,
pub ax: Option<String>,
pub ap: f64,
pub ask_size: f64,
pub t: String,
pub c: Option<Vec<String>>,
pub z: Option<String>,
}Expand description
A real-time quote message from the stock or crypto stream.
Fields§
§msg_type: String§symbol: String§bx: Option<String>§bp: f64§bs: f64§ax: Option<String>§ap: f64§ask_size: f64§t: String§c: Option<Vec<String>>§z: Option<String>Trait Implementations§
Source§impl Clone for StreamQuote
impl Clone for StreamQuote
Source§fn clone(&self) -> StreamQuote
fn clone(&self) -> StreamQuote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamQuote
impl Debug for StreamQuote
Source§impl<'de> Deserialize<'de> for StreamQuote
impl<'de> Deserialize<'de> for StreamQuote
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
Auto Trait Implementations§
impl Freeze for StreamQuote
impl RefUnwindSafe for StreamQuote
impl Send for StreamQuote
impl Sync for StreamQuote
impl Unpin for StreamQuote
impl UnsafeUnpin for StreamQuote
impl UnwindSafe for StreamQuote
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