pub struct BulkStockPrice {Show 19 fields
pub symbol: Option<String>,
pub name: Option<String>,
pub price: Option<f64>,
pub change: Option<f64>,
pub changes_percentage: Option<f64>,
pub day_low: Option<f64>,
pub day_high: Option<f64>,
pub year_low: Option<f64>,
pub year_high: Option<f64>,
pub market_cap: Option<f64>,
pub pe: Option<f64>,
pub volume: Option<i64>,
pub avg_volume: Option<i64>,
pub exchange: Option<String>,
pub open: Option<f64>,
pub previous_close: Option<f64>,
pub eps: Option<f64>,
pub shares_outstanding: Option<i64>,
pub timestamp: Option<i64>,
}Expand description
Bulk stock prices data
Fields§
§symbol: Option<String>Stock symbol
name: Option<String>Company name
price: Option<f64>Current price
change: Option<f64>Price change
changes_percentage: Option<f64>Percentage change
day_low: Option<f64>Day low
day_high: Option<f64>Day high
year_low: Option<f64>Year low
year_high: Option<f64>Year high
market_cap: Option<f64>Market capitalization
pe: Option<f64>Price to earnings ratio
volume: Option<i64>Volume
avg_volume: Option<i64>Average volume
exchange: Option<String>Exchange
open: Option<f64>Open price
previous_close: Option<f64>Previous close
eps: Option<f64>Earnings per share
Shares outstanding
timestamp: Option<i64>Timestamp
Trait Implementations§
Source§impl Clone for BulkStockPrice
impl Clone for BulkStockPrice
Source§fn clone(&self) -> BulkStockPrice
fn clone(&self) -> BulkStockPrice
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 BulkStockPrice
impl Debug for BulkStockPrice
Source§impl<'de> Deserialize<'de> for BulkStockPrice
impl<'de> Deserialize<'de> for BulkStockPrice
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 BulkStockPrice
impl RefUnwindSafe for BulkStockPrice
impl Send for BulkStockPrice
impl Sync for BulkStockPrice
impl Unpin for BulkStockPrice
impl UnwindSafe for BulkStockPrice
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