pub struct Recommendations {
pub meta: Option<Box<RecommendationsMeta>>,
pub trends: Option<Box<RecommendationsTrends>>,
pub rating: Option<f64>,
pub status: Option<String>,
}Fields§
§meta: Option<Box<RecommendationsMeta>>§trends: Option<Box<RecommendationsTrends>>§rating: Option<f64>Rating from 0 to 10 represents overall analysts’ recommendation. 0 to 2 - strong sell, 2 to 4 - sell, 4 to 6 - hold, 6 to 8 - buy, 8 to 10 - strong buy.
status: Option<String>Response status
Implementations§
Source§impl Recommendations
impl Recommendations
pub fn new() -> Recommendations
Trait Implementations§
Source§impl Clone for Recommendations
impl Clone for Recommendations
Source§fn clone(&self) -> Recommendations
fn clone(&self) -> Recommendations
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 Recommendations
impl Debug for Recommendations
Source§impl Default for Recommendations
impl Default for Recommendations
Source§fn default() -> Recommendations
fn default() -> Recommendations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Recommendations
impl<'de> Deserialize<'de> for Recommendations
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
Source§impl PartialEq for Recommendations
impl PartialEq for Recommendations
Source§impl Serialize for Recommendations
impl Serialize for Recommendations
impl StructuralPartialEq for Recommendations
Auto Trait Implementations§
impl Freeze for Recommendations
impl RefUnwindSafe for Recommendations
impl Send for Recommendations
impl Sync for Recommendations
impl Unpin for Recommendations
impl UnwindSafe for Recommendations
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