pub struct ValuationComparisonItem {Show 15 fields
pub symbol: String,
pub name: String,
pub currency: String,
pub market_value: String,
pub price_close: String,
pub pe: String,
pub pb: String,
pub ps: String,
pub roe: String,
pub eps: String,
pub bps: String,
pub dps: String,
pub div_yld: String,
pub assets: String,
pub history: Vec<ValuationHistoryPoint>,
}Expand description
One security’s valuation comparison item.
Fields§
§symbol: StringSymbol (converted from counter_id)
name: StringSecurity name
currency: StringCurrency
market_value: StringMarket capitalisation
price_close: StringLatest closing price
pe: StringP/E ratio
pb: StringP/B ratio
ps: StringP/S ratio
roe: StringReturn on equity
eps: StringEarnings per share
bps: StringBook value per share
dps: StringDividends per share
div_yld: StringDividend yield
assets: StringTotal assets
history: Vec<ValuationHistoryPoint>Historical valuation points
Trait Implementations§
Source§impl Clone for ValuationComparisonItem
impl Clone for ValuationComparisonItem
Source§fn clone(&self) -> ValuationComparisonItem
fn clone(&self) -> ValuationComparisonItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValuationComparisonItem
impl Debug for ValuationComparisonItem
Source§impl<'de> Deserialize<'de> for ValuationComparisonItem
impl<'de> Deserialize<'de> for ValuationComparisonItem
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValuationComparisonItem
impl RefUnwindSafe for ValuationComparisonItem
impl Send for ValuationComparisonItem
impl Sync for ValuationComparisonItem
impl Unpin for ValuationComparisonItem
impl UnsafeUnpin for ValuationComparisonItem
impl UnwindSafe for ValuationComparisonItem
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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