pub struct IndexQuote {
pub symbol: String,
pub name: Option<String>,
pub price: Option<f64>,
pub change: Option<f64>,
pub changes_percentage: Option<f64>,
pub day_low: Option<f64>,
pub day_high: Option<f64>,
pub year_low: Option<f64>,
pub year_high: Option<f64>,
pub open: Option<f64>,
pub previous_close: Option<f64>,
pub timestamp: Option<i64>,
}Expand description
Market index quote
Fields§
§symbol: StringSymbol
name: Option<String>Name
price: Option<f64>Current price/level
change: Option<f64>Price change
changes_percentage: Option<f64>Percent change
day_low: Option<f64>Day low
day_high: Option<f64>Day high
year_low: Option<f64>Year low
year_high: Option<f64>Year high
open: Option<f64>Open price
previous_close: Option<f64>Previous close
timestamp: Option<i64>Timestamp
Trait Implementations§
Source§impl Clone for IndexQuote
impl Clone for IndexQuote
Source§fn clone(&self) -> IndexQuote
fn clone(&self) -> IndexQuote
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 IndexQuote
impl Debug for IndexQuote
Source§impl<'de> Deserialize<'de> for IndexQuote
impl<'de> Deserialize<'de> for IndexQuote
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 IndexQuote
impl RefUnwindSafe for IndexQuote
impl Send for IndexQuote
impl Sync for IndexQuote
impl Unpin for IndexQuote
impl UnwindSafe for IndexQuote
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