pub struct ComboMarginSummary {Show 15 fields
pub power: Option<String>,
pub power_used: Option<String>,
pub closeable_quantity: Option<String>,
pub show_closeable_quantity: Option<bool>,
pub available_settled_cash: Option<String>,
pub required_im_long: Option<String>,
pub required_im_short: Option<String>,
pub cash_power: Option<String>,
pub combo_order_im: Option<String>,
pub overnight_power: Option<String>,
pub overnight_power_used: Option<String>,
pub is_high_leverage_user: Option<bool>,
pub power_auto_transfer: Option<String>,
pub cash_power_auto_transfer: Option<String>,
pub auto_transfer_enable: Option<bool>,
}Fields§
§power: Option<String>§power_used: Option<String>§closeable_quantity: Option<String>§show_closeable_quantity: Option<bool>§available_settled_cash: Option<String>§required_im_long: Option<String>§required_im_short: Option<String>§cash_power: Option<String>§combo_order_im: Option<String>§overnight_power: Option<String>§overnight_power_used: Option<String>§is_high_leverage_user: Option<bool>§power_auto_transfer: Option<String>§cash_power_auto_transfer: Option<String>§auto_transfer_enable: Option<bool>Implementations§
Source§impl ComboMarginSummary
impl ComboMarginSummary
Sourcepub fn power(&self) -> &str
pub fn power(&self) -> &str
Returns the value of power, or the default value if power is unset.
Sourcepub fn power_used(&self) -> &str
pub fn power_used(&self) -> &str
Returns the value of power_used, or the default value if power_used is unset.
Sourcepub fn closeable_quantity(&self) -> &str
pub fn closeable_quantity(&self) -> &str
Returns the value of closeable_quantity, or the default value if closeable_quantity is unset.
Sourcepub fn show_closeable_quantity(&self) -> bool
pub fn show_closeable_quantity(&self) -> bool
Returns the value of show_closeable_quantity, or the default value if show_closeable_quantity is unset.
Sourcepub fn available_settled_cash(&self) -> &str
pub fn available_settled_cash(&self) -> &str
Returns the value of available_settled_cash, or the default value if available_settled_cash is unset.
Sourcepub fn required_im_long(&self) -> &str
pub fn required_im_long(&self) -> &str
Returns the value of required_im_long, or the default value if required_im_long is unset.
Sourcepub fn required_im_short(&self) -> &str
pub fn required_im_short(&self) -> &str
Returns the value of required_im_short, or the default value if required_im_short is unset.
Sourcepub fn cash_power(&self) -> &str
pub fn cash_power(&self) -> &str
Returns the value of cash_power, or the default value if cash_power is unset.
Sourcepub fn combo_order_im(&self) -> &str
pub fn combo_order_im(&self) -> &str
Returns the value of combo_order_im, or the default value if combo_order_im is unset.
Sourcepub fn overnight_power(&self) -> &str
pub fn overnight_power(&self) -> &str
Returns the value of overnight_power, or the default value if overnight_power is unset.
Sourcepub fn overnight_power_used(&self) -> &str
pub fn overnight_power_used(&self) -> &str
Returns the value of overnight_power_used, or the default value if overnight_power_used is unset.
Sourcepub fn is_high_leverage_user(&self) -> bool
pub fn is_high_leverage_user(&self) -> bool
Returns the value of is_high_leverage_user, or the default value if is_high_leverage_user is unset.
Sourcepub fn power_auto_transfer(&self) -> &str
pub fn power_auto_transfer(&self) -> &str
Returns the value of power_auto_transfer, or the default value if power_auto_transfer is unset.
Sourcepub fn cash_power_auto_transfer(&self) -> &str
pub fn cash_power_auto_transfer(&self) -> &str
Returns the value of cash_power_auto_transfer, or the default value if cash_power_auto_transfer is unset.
Sourcepub fn auto_transfer_enable(&self) -> bool
pub fn auto_transfer_enable(&self) -> bool
Returns the value of auto_transfer_enable, or the default value if auto_transfer_enable is unset.
Trait Implementations§
Source§impl Clone for ComboMarginSummary
impl Clone for ComboMarginSummary
Source§fn clone(&self) -> ComboMarginSummary
fn clone(&self) -> ComboMarginSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComboMarginSummary
impl Debug for ComboMarginSummary
Source§impl Default for ComboMarginSummary
impl Default for ComboMarginSummary
Source§impl<'de> Deserialize<'de> for ComboMarginSummarywhere
ComboMarginSummary: Default,
impl<'de> Deserialize<'de> for ComboMarginSummarywhere
ComboMarginSummary: Default,
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>,
impl Eq for ComboMarginSummary
Source§impl Hash for ComboMarginSummary
impl Hash for ComboMarginSummary
Source§impl Message for ComboMarginSummary
impl Message for ComboMarginSummary
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 ComboMarginSummary
impl PartialEq for ComboMarginSummary
Source§fn eq(&self, other: &ComboMarginSummary) -> bool
fn eq(&self, other: &ComboMarginSummary) -> bool
self and other values to be equal, and is used by ==.