pub struct ApiPrecautionsConfig {
pub bypass_order_precautions: Option<bool>,
pub bypass_bond_warning: Option<bool>,
pub bypass_negative_yield_confirmation: Option<bool>,
pub bypass_called_bond_warning: Option<bool>,
pub bypass_same_action_pair_trade_warning: Option<bool>,
pub bypass_flagged_accounts_warning: Option<bool>,
pub bypass_price_based_volatility_warning: Option<bool>,
pub bypass_redirect_order_warning: Option<bool>,
pub bypass_no_overfill_protection: Option<bool>,
pub bypass_route_marketable_to_bbo: Option<bool>,
}Fields§
§bypass_order_precautions: Option<bool>§bypass_bond_warning: Option<bool>§bypass_negative_yield_confirmation: Option<bool>§bypass_called_bond_warning: Option<bool>§bypass_same_action_pair_trade_warning: Option<bool>§bypass_flagged_accounts_warning: Option<bool>§bypass_price_based_volatility_warning: Option<bool>§bypass_redirect_order_warning: Option<bool>§bypass_no_overfill_protection: Option<bool>§bypass_route_marketable_to_bbo: Option<bool>Implementations§
Source§impl ApiPrecautionsConfig
impl ApiPrecautionsConfig
Sourcepub fn bypass_order_precautions(&self) -> bool
pub fn bypass_order_precautions(&self) -> bool
Returns the value of bypass_order_precautions, or the default value if bypass_order_precautions is unset.
Sourcepub fn bypass_bond_warning(&self) -> bool
pub fn bypass_bond_warning(&self) -> bool
Returns the value of bypass_bond_warning, or the default value if bypass_bond_warning is unset.
Sourcepub fn bypass_negative_yield_confirmation(&self) -> bool
pub fn bypass_negative_yield_confirmation(&self) -> bool
Returns the value of bypass_negative_yield_confirmation, or the default value if bypass_negative_yield_confirmation is unset.
Sourcepub fn bypass_called_bond_warning(&self) -> bool
pub fn bypass_called_bond_warning(&self) -> bool
Returns the value of bypass_called_bond_warning, or the default value if bypass_called_bond_warning is unset.
Sourcepub fn bypass_same_action_pair_trade_warning(&self) -> bool
pub fn bypass_same_action_pair_trade_warning(&self) -> bool
Returns the value of bypass_same_action_pair_trade_warning, or the default value if bypass_same_action_pair_trade_warning is unset.
Sourcepub fn bypass_flagged_accounts_warning(&self) -> bool
pub fn bypass_flagged_accounts_warning(&self) -> bool
Returns the value of bypass_flagged_accounts_warning, or the default value if bypass_flagged_accounts_warning is unset.
Sourcepub fn bypass_price_based_volatility_warning(&self) -> bool
pub fn bypass_price_based_volatility_warning(&self) -> bool
Returns the value of bypass_price_based_volatility_warning, or the default value if bypass_price_based_volatility_warning is unset.
Sourcepub fn bypass_redirect_order_warning(&self) -> bool
pub fn bypass_redirect_order_warning(&self) -> bool
Returns the value of bypass_redirect_order_warning, or the default value if bypass_redirect_order_warning is unset.
Sourcepub fn bypass_no_overfill_protection(&self) -> bool
pub fn bypass_no_overfill_protection(&self) -> bool
Returns the value of bypass_no_overfill_protection, or the default value if bypass_no_overfill_protection is unset.
Sourcepub fn bypass_route_marketable_to_bbo(&self) -> bool
pub fn bypass_route_marketable_to_bbo(&self) -> bool
Returns the value of bypass_route_marketable_to_bbo, or the default value if bypass_route_marketable_to_bbo is unset.
Trait Implementations§
Source§impl Clone for ApiPrecautionsConfig
impl Clone for ApiPrecautionsConfig
Source§fn clone(&self) -> ApiPrecautionsConfig
fn clone(&self) -> ApiPrecautionsConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApiPrecautionsConfig
impl Debug for ApiPrecautionsConfig
Source§impl Default for ApiPrecautionsConfig
impl Default for ApiPrecautionsConfig
Source§impl Hash for ApiPrecautionsConfig
impl Hash for ApiPrecautionsConfig
Source§impl Message for ApiPrecautionsConfig
impl Message for ApiPrecautionsConfig
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.