pub struct MarketIndex {Show 14 fields
pub name: String,
pub value: f64,
pub change: String,
pub percent_change: String,
pub five_days_return: Option<String>,
pub one_month_return: Option<String>,
pub three_month_return: Option<String>,
pub six_month_return: Option<String>,
pub ytd_return: Option<String>,
pub year_return: Option<String>,
pub three_year_return: Option<String>,
pub five_year_return: Option<String>,
pub ten_year_return: Option<String>,
pub max_return: Option<String>,
}Fields§
§name: String§value: f64§change: String§percent_change: String§five_days_return: Option<String>§one_month_return: Option<String>§three_month_return: Option<String>§six_month_return: Option<String>§ytd_return: Option<String>§year_return: Option<String>§three_year_return: Option<String>§five_year_return: Option<String>§ten_year_return: Option<String>§max_return: Option<String>Trait Implementations§
Source§impl Clone for MarketIndex
impl Clone for MarketIndex
Source§fn clone(&self) -> MarketIndex
fn clone(&self) -> MarketIndex
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 MarketIndex
impl Debug for MarketIndex
Source§impl<'de> Deserialize<'de> for MarketIndex
impl<'de> Deserialize<'de> for MarketIndex
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 MarketIndex
impl RefUnwindSafe for MarketIndex
impl Send for MarketIndex
impl Sync for MarketIndex
impl Unpin for MarketIndex
impl UnsafeUnpin for MarketIndex
impl UnwindSafe for MarketIndex
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