pub struct PriceChange {
pub symbol: String,
pub one_day: Option<f64>,
pub five_days: Option<f64>,
pub one_month: Option<f64>,
pub three_months: Option<f64>,
pub six_months: Option<f64>,
pub year_to_date: Option<f64>,
pub one_year: Option<f64>,
pub three_years: Option<f64>,
pub five_years: Option<f64>,
pub ten_years: Option<f64>,
pub all_time: Option<f64>,
}Expand description
Price changes for the horizons returned by stock-price-change.
Fields§
§symbol: String§one_day: Option<f64>§five_days: Option<f64>§one_month: Option<f64>§three_months: Option<f64>§six_months: Option<f64>§year_to_date: Option<f64>§one_year: Option<f64>§three_years: Option<f64>§five_years: Option<f64>§ten_years: Option<f64>§all_time: Option<f64>Trait Implementations§
Source§impl Clone for PriceChange
impl Clone for PriceChange
Source§impl Debug for PriceChange
impl Debug for PriceChange
Source§impl<'de> Deserialize<'de> for PriceChange
impl<'de> Deserialize<'de> for PriceChange
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 PriceChange
impl PartialEq for PriceChange
Source§impl Serialize for PriceChange
impl Serialize for PriceChange
impl StructuralPartialEq for PriceChange
Auto Trait Implementations§
impl Freeze for PriceChange
impl RefUnwindSafe for PriceChange
impl Send for PriceChange
impl Sync for PriceChange
impl Unpin for PriceChange
impl UnsafeUnpin for PriceChange
impl UnwindSafe for PriceChange
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