#[non_exhaustive]pub struct KeyMetrics {Show 29 fields
pub symbol: Option<String>,
pub date: Option<String>,
pub calendar_year: Option<String>,
pub period: Option<String>,
pub revenue_per_share: Option<f64>,
pub net_income_per_share: Option<f64>,
pub operating_cash_flow_per_share: Option<f64>,
pub free_cash_flow_per_share: Option<f64>,
pub cash_per_share: Option<f64>,
pub book_value_per_share: Option<f64>,
pub tangible_book_value_per_share: Option<f64>,
pub shareholders_equity_per_share: Option<f64>,
pub interest_debt_per_share: Option<f64>,
pub market_cap: Option<f64>,
pub enterprise_value: Option<f64>,
pub pe_ratio: Option<f64>,
pub pb_ratio: Option<f64>,
pub ev_to_sales: Option<f64>,
pub enterprise_value_over_ebitda: Option<f64>,
pub ev_to_operating_cash_flow: Option<f64>,
pub ev_to_free_cash_flow: Option<f64>,
pub earnings_yield: Option<f64>,
pub free_cash_flow_yield: Option<f64>,
pub debt_to_equity: Option<f64>,
pub debt_to_assets: Option<f64>,
pub net_debt_to_ebitda: Option<f64>,
pub current_ratio: Option<f64>,
pub dividend_yield: Option<f64>,
pub payout_ratio: Option<f64>,
}Expand description
Key metrics from FMP.
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: Option<String>Ticker symbol.
date: Option<String>Date.
calendar_year: Option<String>Calendar year.
period: Option<String>Fiscal period.
Revenue per share.
Net income per share.
Operating cash flow per share.
Free cash flow per share.
Cash per share.
Book value per share.
Tangible book value per share.
Shareholders equity per share.
Interest debt per share.
market_cap: Option<f64>Market capitalization.
enterprise_value: Option<f64>Enterprise value.
pe_ratio: Option<f64>PE ratio.
pb_ratio: Option<f64>PB ratio.
ev_to_sales: Option<f64>EV to sales.
enterprise_value_over_ebitda: Option<f64>EV to EBITDA (enterprise value multiple).
ev_to_operating_cash_flow: Option<f64>EV to operating cash flow.
ev_to_free_cash_flow: Option<f64>EV to free cash flow.
earnings_yield: Option<f64>Earnings yield.
free_cash_flow_yield: Option<f64>Free cash flow yield.
debt_to_equity: Option<f64>Debt to equity.
debt_to_assets: Option<f64>Debt to assets.
net_debt_to_ebitda: Option<f64>Net debt to EBITDA.
current_ratio: Option<f64>Current ratio.
dividend_yield: Option<f64>Dividend yield.
payout_ratio: Option<f64>Payout ratio.
Trait Implementations§
Source§impl Clone for KeyMetrics
impl Clone for KeyMetrics
Source§fn clone(&self) -> KeyMetrics
fn clone(&self) -> KeyMetrics
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 KeyMetrics
impl Debug for KeyMetrics
Source§impl<'de> Deserialize<'de> for KeyMetrics
impl<'de> Deserialize<'de> for KeyMetrics
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 KeyMetrics
impl RefUnwindSafe for KeyMetrics
impl Send for KeyMetrics
impl Sync for KeyMetrics
impl Unpin for KeyMetrics
impl UnsafeUnpin for KeyMetrics
impl UnwindSafe for KeyMetrics
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