pub struct CompanyPrice {
pub symbol: String,
pub short_name: String,
pub long_name: Option<String>,
pub regular_market_price: CompanyMarketPrice,
pub regular_market_previous_close: CompanyMarketPrice,
pub post_market_price: OptionalCompanyMarketPrice,
pub regular_market_volume: OptionalCompanyMarketPrice,
pub currency: Option<String>,
}
Fields§
§symbol: String
§short_name: String
§long_name: Option<String>
§regular_market_price: CompanyMarketPrice
§regular_market_previous_close: CompanyMarketPrice
§post_market_price: OptionalCompanyMarketPrice
§regular_market_volume: OptionalCompanyMarketPrice
§currency: Option<String>
Trait Implementations§
Source§impl Clone for CompanyPrice
impl Clone for CompanyPrice
Source§fn clone(&self) -> CompanyPrice
fn clone(&self) -> CompanyPrice
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 CompanyPrice
impl Debug for CompanyPrice
Source§impl<'de> Deserialize<'de> for CompanyPrice
impl<'de> Deserialize<'de> for CompanyPrice
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 CompanyPrice
impl RefUnwindSafe for CompanyPrice
impl Send for CompanyPrice
impl Sync for CompanyPrice
impl Unpin for CompanyPrice
impl UnwindSafe for CompanyPrice
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