pub struct SupMarginStatisticInfo {
pub margin_account_cnt: Option<u32>,
pub warning_account_cnt: Option<u32>,
pub risk_account_cnt: Option<u32>,
pub margin_call_total_amount: Option<u32>,
}Fields§
§margin_account_cnt: Option<u32>margin账户总个数
warning_account_cnt: Option<u32>已收到tips报警的账户个数
risk_account_cnt: Option<u32>需强平的账户个数
margin_call_total_amount: Option<u32>欠保证金总额
Implementations§
Source§impl SupMarginStatisticInfo
impl SupMarginStatisticInfo
Sourcepub fn margin_account_cnt(&self) -> u32
pub fn margin_account_cnt(&self) -> u32
Returns the value of margin_account_cnt, or the default value if margin_account_cnt is unset.
Sourcepub fn warning_account_cnt(&self) -> u32
pub fn warning_account_cnt(&self) -> u32
Returns the value of warning_account_cnt, or the default value if warning_account_cnt is unset.
Sourcepub fn risk_account_cnt(&self) -> u32
pub fn risk_account_cnt(&self) -> u32
Returns the value of risk_account_cnt, or the default value if risk_account_cnt is unset.
Sourcepub fn margin_call_total_amount(&self) -> u32
pub fn margin_call_total_amount(&self) -> u32
Returns the value of margin_call_total_amount, or the default value if margin_call_total_amount is unset.
Trait Implementations§
Source§impl Clone for SupMarginStatisticInfo
impl Clone for SupMarginStatisticInfo
Source§fn clone(&self) -> SupMarginStatisticInfo
fn clone(&self) -> SupMarginStatisticInfo
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 SupMarginStatisticInfo
impl Debug for SupMarginStatisticInfo
Source§impl Default for SupMarginStatisticInfo
impl Default for SupMarginStatisticInfo
Source§impl Hash for SupMarginStatisticInfo
impl Hash for SupMarginStatisticInfo
Source§impl Message for SupMarginStatisticInfo
impl Message for SupMarginStatisticInfo
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 SupMarginStatisticInfo
impl PartialEq for SupMarginStatisticInfo
impl Copy for SupMarginStatisticInfo
impl Eq for SupMarginStatisticInfo
impl StructuralPartialEq for SupMarginStatisticInfo
Auto Trait Implementations§
impl Freeze for SupMarginStatisticInfo
impl RefUnwindSafe for SupMarginStatisticInfo
impl Send for SupMarginStatisticInfo
impl Sync for SupMarginStatisticInfo
impl Unpin for SupMarginStatisticInfo
impl UnsafeUnpin for SupMarginStatisticInfo
impl UnwindSafe for SupMarginStatisticInfo
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.