pub struct YahooQuote {
pub symbol: String,
pub price: Decimal,
pub change: Decimal,
pub change_percent: Decimal,
pub volume: i64,
pub market_cap: Option<i64>,
}Fields§
§symbol: String§price: Decimal§change: Decimal§change_percent: Decimal§volume: i64§market_cap: Option<i64>Trait Implementations§
Source§impl Clone for YahooQuote
impl Clone for YahooQuote
Source§fn clone(&self) -> YahooQuote
fn clone(&self) -> YahooQuote
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 YahooQuote
impl Debug for YahooQuote
Source§impl<'de> Deserialize<'de> for YahooQuote
impl<'de> Deserialize<'de> for YahooQuote
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 YahooQuote
impl RefUnwindSafe for YahooQuote
impl Send for YahooQuote
impl Sync for YahooQuote
impl Unpin for YahooQuote
impl UnwindSafe for YahooQuote
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