pub struct AnalystInfo {
pub analyst_uid: Option<String>,
pub analyst_name: Option<String>,
pub analyst_picture_url: Option<String>,
pub num_of_stars: Option<i32>,
pub success_rate: Option<i32>,
pub excess_return: Option<i32>,
pub stock_success_rate: Option<i32>,
pub stock_avg_return: Option<i32>,
pub institution_info: Option<InstInfo>,
pub update_time: Option<i64>,
}Fields§
§analyst_uid: Option<String>§analyst_name: Option<String>§analyst_picture_url: Option<String>§num_of_stars: Option<i32>§success_rate: Option<i32>§excess_return: Option<i32>§stock_success_rate: Option<i32>§stock_avg_return: Option<i32>§institution_info: Option<InstInfo>§update_time: Option<i64>Implementations§
Source§impl AnalystInfo
impl AnalystInfo
Sourcepub fn analyst_uid(&self) -> &str
pub fn analyst_uid(&self) -> &str
Returns the value of analyst_uid, or the default value if analyst_uid is unset.
Sourcepub fn analyst_name(&self) -> &str
pub fn analyst_name(&self) -> &str
Returns the value of analyst_name, or the default value if analyst_name is unset.
Sourcepub fn analyst_picture_url(&self) -> &str
pub fn analyst_picture_url(&self) -> &str
Returns the value of analyst_picture_url, or the default value if analyst_picture_url is unset.
Sourcepub fn num_of_stars(&self) -> i32
pub fn num_of_stars(&self) -> i32
Returns the value of num_of_stars, or the default value if num_of_stars is unset.
Sourcepub fn success_rate(&self) -> i32
pub fn success_rate(&self) -> i32
Returns the value of success_rate, or the default value if success_rate is unset.
Sourcepub fn excess_return(&self) -> i32
pub fn excess_return(&self) -> i32
Returns the value of excess_return, or the default value if excess_return is unset.
Sourcepub fn stock_success_rate(&self) -> i32
pub fn stock_success_rate(&self) -> i32
Returns the value of stock_success_rate, or the default value if stock_success_rate is unset.
Sourcepub fn stock_avg_return(&self) -> i32
pub fn stock_avg_return(&self) -> i32
Returns the value of stock_avg_return, or the default value if stock_avg_return is unset.
Sourcepub fn update_time(&self) -> i64
pub fn update_time(&self) -> i64
Returns the value of update_time, or the default value if update_time is unset.
Trait Implementations§
Source§impl Clone for AnalystInfo
impl Clone for AnalystInfo
Source§fn clone(&self) -> AnalystInfo
fn clone(&self) -> AnalystInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalystInfo
impl Debug for AnalystInfo
Source§impl Default for AnalystInfo
impl Default for AnalystInfo
Source§impl Hash for AnalystInfo
impl Hash for AnalystInfo
Source§impl Message for AnalystInfo
impl Message for AnalystInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for AnalystInfo
impl PartialEq for AnalystInfo
impl Eq for AnalystInfo
impl StructuralPartialEq for AnalystInfo
Auto Trait Implementations§
impl Freeze for AnalystInfo
impl RefUnwindSafe for AnalystInfo
impl Send for AnalystInfo
impl Sync for AnalystInfo
impl Unpin for AnalystInfo
impl UnsafeUnpin for AnalystInfo
impl UnwindSafe for AnalystInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.