[−][src]Struct pt::models::Financial
Implementations
impl Financial
[src]
pub fn new(
symbol: String,
report_date: String,
report_date_str: String
) -> Financial
[src]
symbol: String,
report_date: String,
report_date_str: String
) -> Financial
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]
self,
research_and_development: i64
) -> Financial
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]
self,
operating_gains_losses: f32
) -> Financial
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Financial
[src]
Auto Trait Implementations
impl RefUnwindSafe for Financial
impl Send for Financial
impl Sync for Financial
impl Unpin for Financial
impl UnwindSafe for Financial
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,