#[non_exhaustive]pub struct CompanyOverview {Show 39 fields
pub symbol: String,
pub asset_type: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub exchange: Option<String>,
pub currency: Option<String>,
pub country: Option<String>,
pub sector: Option<String>,
pub industry: Option<String>,
pub market_capitalization: Option<f64>,
pub pe_ratio: Option<f64>,
pub peg_ratio: Option<f64>,
pub book_value: Option<f64>,
pub dividend_per_share: Option<f64>,
pub dividend_yield: Option<f64>,
pub eps: Option<f64>,
pub revenue_per_share_ttm: Option<f64>,
pub profit_margin: Option<f64>,
pub operating_margin_ttm: Option<f64>,
pub return_on_assets_ttm: Option<f64>,
pub return_on_equity_ttm: Option<f64>,
pub revenue_ttm: Option<f64>,
pub gross_profit_ttm: Option<f64>,
pub ebitda: Option<f64>,
pub week_52_high: Option<f64>,
pub week_52_low: Option<f64>,
pub moving_average_50day: Option<f64>,
pub moving_average_200day: Option<f64>,
pub shares_outstanding: Option<f64>,
pub beta: Option<f64>,
pub forward_pe: Option<f64>,
pub price_to_sales_ratio_ttm: Option<f64>,
pub price_to_book_ratio: Option<f64>,
pub analyst_target_price: Option<f64>,
pub analyst_rating_strong_buy: Option<u32>,
pub analyst_rating_buy: Option<u32>,
pub analyst_rating_hold: Option<u32>,
pub analyst_rating_sell: Option<u32>,
pub analyst_rating_strong_sell: Option<u32>,
}Expand description
Company overview / profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: StringTicker symbol
asset_type: Option<String>Asset type
name: Option<String>Company name
description: Option<String>Company description
exchange: Option<String>Exchange
currency: Option<String>Currency
country: Option<String>Country
sector: Option<String>Sector
industry: Option<String>Industry
market_capitalization: Option<f64>Market capitalization
pe_ratio: Option<f64>Price-to-earnings ratio (trailing)
peg_ratio: Option<f64>Price-to-earnings-growth ratio
book_value: Option<f64>Book value per share
Dividend per share
dividend_yield: Option<f64>Dividend yield
eps: Option<f64>Earnings per share
Revenue per share (TTM)
profit_margin: Option<f64>Profit margin
operating_margin_ttm: Option<f64>Operating margin (TTM)
return_on_assets_ttm: Option<f64>Return on assets (TTM)
return_on_equity_ttm: Option<f64>Return on equity (TTM)
revenue_ttm: Option<f64>Revenue (TTM)
gross_profit_ttm: Option<f64>Gross profit (TTM)
ebitda: Option<f64>EBITDA
week_52_high: Option<f64>52-week high
week_52_low: Option<f64>52-week low
moving_average_50day: Option<f64>50-day moving average
moving_average_200day: Option<f64>200-day moving average
Shares outstanding
beta: Option<f64>Beta
forward_pe: Option<f64>Forward PE
price_to_sales_ratio_ttm: Option<f64>Price-to-sales ratio (TTM)
price_to_book_ratio: Option<f64>Price-to-book ratio
analyst_target_price: Option<f64>Analyst target price
analyst_rating_strong_buy: Option<u32>Analyst rating: strong buy count
analyst_rating_buy: Option<u32>Analyst rating: buy count
analyst_rating_hold: Option<u32>Analyst rating: hold count
analyst_rating_sell: Option<u32>Analyst rating: sell count
analyst_rating_strong_sell: Option<u32>Analyst rating: strong sell count
Trait Implementations§
Source§impl Clone for CompanyOverview
impl Clone for CompanyOverview
Source§fn clone(&self) -> CompanyOverview
fn clone(&self) -> CompanyOverview
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 CompanyOverview
impl Debug for CompanyOverview
Source§impl<'de> Deserialize<'de> for CompanyOverview
impl<'de> Deserialize<'de> for CompanyOverview
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 CompanyOverview
impl RefUnwindSafe for CompanyOverview
impl Send for CompanyOverview
impl Sync for CompanyOverview
impl Unpin for CompanyOverview
impl UnsafeUnpin for CompanyOverview
impl UnwindSafe for CompanyOverview
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more