[][src]Struct pt::models::Financial

pub struct Financial { /* fields omitted */ }

Implementations

impl Financial[src]

pub fn new(
    symbol: String,
    report_date: String,
    report_date_str: String
) -> Financial
[src]

pub fn set_symbol(&mut self, symbol: String)[src]

pub fn with_symbol(self, symbol: String) -> Financial[src]

pub fn symbol(&self) -> &String[src]

pub fn set_report_date(&mut self, report_date: String)[src]

pub fn with_report_date(self, report_date: String) -> Financial[src]

pub fn report_date(&self) -> &String[src]

pub fn set_report_date_str(&mut self, report_date_str: String)[src]

pub fn with_report_date_str(self, report_date_str: String) -> Financial[src]

pub fn report_date_str(&self) -> &String[src]

pub fn set_gross_profit(&mut self, gross_profit: i64)[src]

pub fn with_gross_profit(self, gross_profit: i64) -> Financial[src]

pub fn gross_profit(&self) -> Option<&i64>[src]

pub fn reset_gross_profit(&mut self)[src]

pub fn set_cost_of_revenue(&mut self, cost_of_revenue: i64)[src]

pub fn with_cost_of_revenue(self, cost_of_revenue: i64) -> Financial[src]

pub fn cost_of_revenue(&self) -> Option<&i64>[src]

pub fn reset_cost_of_revenue(&mut self)[src]

pub fn set_operating_revenue(&mut self, operating_revenue: i64)[src]

pub fn with_operating_revenue(self, operating_revenue: i64) -> Financial[src]

pub fn operating_revenue(&self) -> Option<&i64>[src]

pub fn reset_operating_revenue(&mut self)[src]

pub fn set_total_revenue(&mut self, total_revenue: i64)[src]

pub fn with_total_revenue(self, total_revenue: i64) -> Financial[src]

pub fn total_revenue(&self) -> Option<&i64>[src]

pub fn reset_total_revenue(&mut self)[src]

pub fn set_operating_income(&mut self, operating_income: i64)[src]

pub fn with_operating_income(self, operating_income: i64) -> Financial[src]

pub fn operating_income(&self) -> Option<&i64>[src]

pub fn reset_operating_income(&mut self)[src]

pub fn set_net_income(&mut self, net_income: i64)[src]

pub fn with_net_income(self, net_income: i64) -> Financial[src]

pub fn net_income(&self) -> Option<&i64>[src]

pub fn reset_net_income(&mut self)[src]

pub fn set_research_and_development(&mut self, research_and_development: i64)[src]

pub fn with_research_and_development(
    self,
    research_and_development: i64
) -> Financial
[src]

pub fn research_and_development(&self) -> Option<&i64>[src]

pub fn reset_research_and_development(&mut self)[src]

pub fn set_operating_expense(&mut self, operating_expense: i64)[src]

pub fn with_operating_expense(self, operating_expense: i64) -> Financial[src]

pub fn operating_expense(&self) -> Option<&i64>[src]

pub fn reset_operating_expense(&mut self)[src]

pub fn set_current_assets(&mut self, current_assets: i64)[src]

pub fn with_current_assets(self, current_assets: i64) -> Financial[src]

pub fn current_assets(&self) -> Option<&i64>[src]

pub fn reset_current_assets(&mut self)[src]

pub fn set_total_assets(&mut self, total_assets: i64)[src]

pub fn with_total_assets(self, total_assets: i64) -> Financial[src]

pub fn total_assets(&self) -> Option<&i64>[src]

pub fn reset_total_assets(&mut self)[src]

pub fn set_total_liabilities(&mut self, total_liabilities: i64)[src]

pub fn with_total_liabilities(self, total_liabilities: i64) -> Financial[src]

pub fn total_liabilities(&self) -> Option<&i64>[src]

pub fn reset_total_liabilities(&mut self)[src]

pub fn set_current_cash(&mut self, current_cash: i64)[src]

pub fn with_current_cash(self, current_cash: i64) -> Financial[src]

pub fn current_cash(&self) -> Option<&i64>[src]

pub fn reset_current_cash(&mut self)[src]

pub fn set_current_debt(&mut self, current_debt: i64)[src]

pub fn with_current_debt(self, current_debt: i64) -> Financial[src]

pub fn current_debt(&self) -> Option<&i64>[src]

pub fn reset_current_debt(&mut self)[src]

pub fn set_total_cash(&mut self, total_cash: i64)[src]

pub fn with_total_cash(self, total_cash: i64) -> Financial[src]

pub fn total_cash(&self) -> Option<&i64>[src]

pub fn reset_total_cash(&mut self)[src]

pub fn set_total_debt(&mut self, total_debt: i64)[src]

pub fn with_total_debt(self, total_debt: i64) -> Financial[src]

pub fn total_debt(&self) -> Option<&i64>[src]

pub fn reset_total_debt(&mut self)[src]

pub fn set_shareholder_equity(&mut self, shareholder_equity: i64)[src]

pub fn with_shareholder_equity(self, shareholder_equity: i64) -> Financial[src]

pub fn shareholder_equity(&self) -> Option<&i64>[src]

pub fn reset_shareholder_equity(&mut self)[src]

pub fn set_cash_change(&mut self, cash_change: i64)[src]

pub fn with_cash_change(self, cash_change: i64) -> Financial[src]

pub fn cash_change(&self) -> Option<&i64>[src]

pub fn reset_cash_change(&mut self)[src]

pub fn set_cash_flow(&mut self, cash_flow: i64)[src]

pub fn with_cash_flow(self, cash_flow: i64) -> Financial[src]

pub fn cash_flow(&self) -> Option<&i64>[src]

pub fn reset_cash_flow(&mut self)[src]

pub fn set_operating_gains_losses(&mut self, operating_gains_losses: f32)[src]

pub fn with_operating_gains_losses(
    self,
    operating_gains_losses: f32
) -> Financial
[src]

pub fn operating_gains_losses(&self) -> Option<&f32>[src]

pub fn reset_operating_gains_losses(&mut self)[src]

Trait Implementations

impl Clone for Financial[src]

impl Debug for Financial[src]

impl<'de> Deserialize<'de> for Financial[src]

impl Serialize for Financial[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.