pub struct StockRatings {
pub style_txt_name: String,
pub scale_txt_name: String,
pub report_period_txt: String,
pub multi_score: Option<f64>,
pub multi_letter: String,
pub multi_score_change: i32,
pub industry_name: String,
pub industry_rank: Option<i64>,
pub industry_total: Option<i64>,
pub industry_mean_score: Option<f64>,
pub industry_median_score: Option<f64>,
pub ratings: Vec<RatingCategory>,
}Expand description
Response for [crate::FundamentalContext::ratings]
Fields§
§style_txt_name: StringStyle display name
scale_txt_name: StringScale display name
report_period_txt: StringReport period display text
multi_score: Option<f64>Composite score
multi_letter: StringComposite score letter grade
multi_score_change: i32Score change vs previous period
industry_name: StringIndustry name
industry_rank: Option<i64>Industry rank
industry_total: Option<i64>Total securities in the industry
industry_mean_score: Option<f64>Industry mean score
industry_median_score: Option<f64>Industry median score
ratings: Vec<RatingCategory>Detailed rating categories
Trait Implementations§
Source§impl Clone for StockRatings
impl Clone for StockRatings
Source§fn clone(&self) -> StockRatings
fn clone(&self) -> StockRatings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StockRatings
impl Debug for StockRatings
Source§impl<'de> Deserialize<'de> for StockRatings
impl<'de> Deserialize<'de> for StockRatings
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 StockRatings
impl RefUnwindSafe for StockRatings
impl Send for StockRatings
impl Sync for StockRatings
impl Unpin for StockRatings
impl UnsafeUnpin for StockRatings
impl UnwindSafe for StockRatings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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