pub struct SimpleQuote {
pub symbol: String,
pub name: String,
pub price: String,
pub pre_market_price: Option<String>,
pub after_hours_price: Option<String>,
pub change: String,
pub percent_change: String,
pub logo: Option<String>,
}Fields§
§symbol: String§name: String§price: String§pre_market_price: Option<String>§after_hours_price: Option<String>§change: String§percent_change: String§logo: Option<String>Trait Implementations§
Source§impl Clone for SimpleQuote
impl Clone for SimpleQuote
Source§fn clone(&self) -> SimpleQuote
fn clone(&self) -> SimpleQuote
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 SimpleQuote
impl Debug for SimpleQuote
Source§impl<'de> Deserialize<'de> for SimpleQuote
impl<'de> Deserialize<'de> for SimpleQuote
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 SimpleQuote
impl RefUnwindSafe for SimpleQuote
impl Send for SimpleQuote
impl Sync for SimpleQuote
impl Unpin for SimpleQuote
impl UnsafeUnpin for SimpleQuote
impl UnwindSafe for SimpleQuote
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