pub struct AnalysisData {
pub average_main_deal_ratio: Option<u64>,
pub accmulate_main_net_in: Option<i64>,
pub deal_ratio_quantile: Option<u64>,
pub net_in_quantile: Option<u64>,
}Fields§
§average_main_deal_ratio: Option<u64>主力成交占比均值, 单位为 0.01%
accmulate_main_net_in: Option<i64>主力资金净流入, 单位为 0.001
deal_ratio_quantile: Option<u64>主力成交占比均值在市场排名的分位数, 单位为0.01%
net_in_quantile: Option<u64>主力资金净流入在市场排名的分位数, 单位为0.01%
Implementations§
Source§impl AnalysisData
impl AnalysisData
Sourcepub fn average_main_deal_ratio(&self) -> u64
pub fn average_main_deal_ratio(&self) -> u64
Returns the value of average_main_deal_ratio, or the default value if average_main_deal_ratio is unset.
Sourcepub fn accmulate_main_net_in(&self) -> i64
pub fn accmulate_main_net_in(&self) -> i64
Returns the value of accmulate_main_net_in, or the default value if accmulate_main_net_in is unset.
Sourcepub fn deal_ratio_quantile(&self) -> u64
pub fn deal_ratio_quantile(&self) -> u64
Returns the value of deal_ratio_quantile, or the default value if deal_ratio_quantile is unset.
Sourcepub fn net_in_quantile(&self) -> u64
pub fn net_in_quantile(&self) -> u64
Returns the value of net_in_quantile, or the default value if net_in_quantile is unset.
Trait Implementations§
Source§impl Clone for AnalysisData
impl Clone for AnalysisData
Source§fn clone(&self) -> AnalysisData
fn clone(&self) -> AnalysisData
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 AnalysisData
impl Debug for AnalysisData
Source§impl Default for AnalysisData
impl Default for AnalysisData
Source§impl Hash for AnalysisData
impl Hash for AnalysisData
Source§impl Message for AnalysisData
impl Message for AnalysisData
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AnalysisData
impl PartialEq for AnalysisData
impl Copy for AnalysisData
impl Eq for AnalysisData
impl StructuralPartialEq for AnalysisData
Auto Trait Implementations§
impl Freeze for AnalysisData
impl RefUnwindSafe for AnalysisData
impl Send for AnalysisData
impl Sync for AnalysisData
impl Unpin for AnalysisData
impl UnsafeUnpin for AnalysisData
impl UnwindSafe for AnalysisData
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<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
Checks if this value is equivalent to the given key. Read more
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.