[][src]Struct pt::models::Earning

pub struct Earning { /* fields omitted */ }

Implementations

impl Earning[src]

pub fn new(
    symbol: String,
    eps_report_date: String,
    eps_report_date_str: String
) -> Earning
[src]

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

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

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

pub fn set_eps_report_date(&mut self, eps_report_date: String)[src]

pub fn with_eps_report_date(self, eps_report_date: String) -> Earning[src]

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

pub fn set_eps_report_date_str(&mut self, eps_report_date_str: String)[src]

pub fn with_eps_report_date_str(self, eps_report_date_str: String) -> Earning[src]

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

pub fn set_fiscal_period(&mut self, fiscal_period: String)[src]

pub fn with_fiscal_period(self, fiscal_period: String) -> Earning[src]

pub fn fiscal_period(&self) -> Option<&String>[src]

pub fn reset_fiscal_period(&mut self)[src]

pub fn set_fiscal_end_date(&mut self, fiscal_end_date: String)[src]

pub fn with_fiscal_end_date(self, fiscal_end_date: String) -> Earning[src]

pub fn fiscal_end_date(&self) -> Option<&String>[src]

pub fn reset_fiscal_end_date(&mut self)[src]

pub fn set_actual_eps(&mut self, actual_eps: f32)[src]

pub fn with_actual_eps(self, actual_eps: f32) -> Earning[src]

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

pub fn reset_actual_eps(&mut self)[src]

pub fn set_consensus_eps(&mut self, consensus_eps: f32)[src]

pub fn with_consensus_eps(self, consensus_eps: f32) -> Earning[src]

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

pub fn reset_consensus_eps(&mut self)[src]

pub fn set_estimated_eps(&mut self, estimated_eps: f32)[src]

pub fn with_estimated_eps(self, estimated_eps: f32) -> Earning[src]

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

pub fn reset_estimated_eps(&mut self)[src]

pub fn set_announce_time(&mut self, announce_time: String)[src]

pub fn with_announce_time(self, announce_time: String) -> Earning[src]

pub fn announce_time(&self) -> Option<&String>[src]

pub fn reset_announce_time(&mut self)[src]

pub fn set_number_of_estimates(&mut self, number_of_estimates: i64)[src]

pub fn with_number_of_estimates(self, number_of_estimates: i64) -> Earning[src]

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

pub fn reset_number_of_estimates(&mut self)[src]

pub fn set_eps_surprise_dollar(&mut self, eps_surprise_dollar: f32)[src]

pub fn with_eps_surprise_dollar(self, eps_surprise_dollar: f32) -> Earning[src]

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

pub fn reset_eps_surprise_dollar(&mut self)[src]

pub fn set_year_ago(&mut self, year_ago: f32)[src]

pub fn with_year_ago(self, year_ago: f32) -> Earning[src]

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

pub fn reset_year_ago(&mut self)[src]

pub fn set_year_ago_change_percent(&mut self, year_ago_change_percent: f32)[src]

pub fn with_year_ago_change_percent(
    self,
    year_ago_change_percent: f32
) -> Earning
[src]

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

pub fn reset_year_ago_change_percent(&mut self)[src]

pub fn set_estimated_change_percent(&mut self, estimated_change_percent: f32)[src]

pub fn with_estimated_change_percent(
    self,
    estimated_change_percent: f32
) -> Earning
[src]

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

pub fn reset_estimated_change_percent(&mut self)[src]

Trait Implementations

impl Clone for Earning[src]

impl Debug for Earning[src]

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

impl Serialize for Earning[src]

Auto Trait Implementations

impl RefUnwindSafe for Earning

impl Send for Earning

impl Sync for Earning

impl Unpin for Earning

impl UnwindSafe for Earning

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.