[−][src]Struct pt::models::Earning
Implementations
impl Earning
[src]
pub fn new(
symbol: String,
eps_report_date: String,
eps_report_date_str: String
) -> Earning
[src]
symbol: String,
eps_report_date: String,
eps_report_date_str: String
) -> Earning
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]
self,
year_ago_change_percent: f32
) -> Earning
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]
self,
estimated_change_percent: f32
) -> Earning
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
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>,