#[non_exhaustive]pub struct IncomeStatement {Show 38 fields
pub date: Option<String>,
pub symbol: Option<String>,
pub reported_currency: Option<String>,
pub cik: Option<String>,
pub filling_date: Option<String>,
pub accepted_date: Option<String>,
pub calendar_year: Option<String>,
pub period: Option<String>,
pub revenue: Option<f64>,
pub cost_of_revenue: Option<f64>,
pub gross_profit: Option<f64>,
pub gross_profit_ratio: Option<f64>,
pub research_and_development_expenses: Option<f64>,
pub general_and_administrative_expenses: Option<f64>,
pub selling_and_marketing_expenses: Option<f64>,
pub selling_general_and_administrative_expenses: Option<f64>,
pub other_expenses: Option<f64>,
pub operating_expenses: Option<f64>,
pub cost_and_expenses: Option<f64>,
pub interest_income: Option<f64>,
pub interest_expense: Option<f64>,
pub depreciation_and_amortization: Option<f64>,
pub ebitda: Option<f64>,
pub ebitda_ratio: Option<f64>,
pub operating_income: Option<f64>,
pub operating_income_ratio: Option<f64>,
pub total_other_income_expenses_net: Option<f64>,
pub income_before_tax: Option<f64>,
pub income_before_tax_ratio: Option<f64>,
pub income_tax_expense: Option<f64>,
pub net_income: Option<f64>,
pub net_income_ratio: Option<f64>,
pub eps: Option<f64>,
pub eps_diluted: Option<f64>,
pub weighted_average_shs_out: Option<f64>,
pub weighted_average_shs_out_dil: Option<f64>,
pub link: Option<String>,
pub final_link: Option<String>,
}Expand description
Income statement from FMP.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.date: Option<String>Filing date.
symbol: Option<String>Ticker symbol.
reported_currency: Option<String>Reporting period (annual/quarter).
cik: Option<String>CIK number.
filling_date: Option<String>Filing date.
accepted_date: Option<String>Accepted date.
calendar_year: Option<String>Calendar year.
period: Option<String>Fiscal period (e.g., “Q1”, “FY”).
revenue: Option<f64>Total revenue.
cost_of_revenue: Option<f64>Cost of revenue.
gross_profit: Option<f64>Gross profit.
gross_profit_ratio: Option<f64>Gross profit ratio.
research_and_development_expenses: Option<f64>Research and development expenses.
general_and_administrative_expenses: Option<f64>General and administrative expenses.
selling_and_marketing_expenses: Option<f64>Selling and marketing expenses.
selling_general_and_administrative_expenses: Option<f64>Selling, general and administrative expenses.
other_expenses: Option<f64>Other expenses.
operating_expenses: Option<f64>Operating expenses.
cost_and_expenses: Option<f64>Cost and expenses.
interest_income: Option<f64>Interest income.
interest_expense: Option<f64>Interest expense.
depreciation_and_amortization: Option<f64>Depreciation and amortization.
ebitda: Option<f64>EBITDA.
ebitda_ratio: Option<f64>EBITDA ratio.
operating_income: Option<f64>Operating income.
operating_income_ratio: Option<f64>Operating income ratio.
total_other_income_expenses_net: Option<f64>Total other income/expenses net.
income_before_tax: Option<f64>Income before tax.
income_before_tax_ratio: Option<f64>Income before tax ratio.
income_tax_expense: Option<f64>Income tax expense.
net_income: Option<f64>Net income.
net_income_ratio: Option<f64>Net income ratio.
eps: Option<f64>Earnings per share (basic).
eps_diluted: Option<f64>Earnings per share (diluted).
weighted_average_shs_out: Option<f64>Weighted average shares outstanding.
weighted_average_shs_out_dil: Option<f64>Weighted average shares outstanding (diluted).
link: Option<String>Link to SEC filing.
final_link: Option<String>Final link to filing.
Trait Implementations§
Source§impl Clone for IncomeStatement
impl Clone for IncomeStatement
Source§fn clone(&self) -> IncomeStatement
fn clone(&self) -> IncomeStatement
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IncomeStatement
impl Debug for IncomeStatement
Source§impl<'de> Deserialize<'de> for IncomeStatement
impl<'de> Deserialize<'de> for IncomeStatement
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>,
Auto Trait Implementations§
impl Freeze for IncomeStatement
impl RefUnwindSafe for IncomeStatement
impl Send for IncomeStatement
impl Sync for IncomeStatement
impl Unpin for IncomeStatement
impl UnsafeUnpin for IncomeStatement
impl UnwindSafe for IncomeStatement
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
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> ⓘ
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> ⓘ
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