pub struct MarketMover {
pub symbol: String,
pub name: String,
pub price: f64,
pub change: Option<f64>,
pub changes_percentage: Option<f64>,
pub exchange: Option<String>,
}Expand description
A company in the biggest-gainers, biggest-losers, or most-actives lists.
Fields§
§symbol: String§name: String§price: f64§change: Option<f64>§changes_percentage: Option<f64>§exchange: Option<String>Trait Implementations§
Source§impl Clone for MarketMover
impl Clone for MarketMover
Source§impl Debug for MarketMover
impl Debug for MarketMover
Source§impl<'de> Deserialize<'de> for MarketMover
impl<'de> Deserialize<'de> for MarketMover
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 MarketMover
impl PartialEq for MarketMover
Source§impl Serialize for MarketMover
impl Serialize for MarketMover
impl StructuralPartialEq for MarketMover
Auto Trait Implementations§
impl Freeze for MarketMover
impl RefUnwindSafe for MarketMover
impl Send for MarketMover
impl Sync for MarketMover
impl Unpin for MarketMover
impl UnsafeUnpin for MarketMover
impl UnwindSafe for MarketMover
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