pub struct OrdersSmartRoutingConfig {
pub seek_price_improvement: Option<bool>,
pub pre_open_reroute: Option<bool>,
pub do_not_route_to_dark_pools: Option<bool>,
pub default_algorithm: Option<String>,
}Fields§
§seek_price_improvement: Option<bool>§pre_open_reroute: Option<bool>§do_not_route_to_dark_pools: Option<bool>§default_algorithm: Option<String>Implementations§
Source§impl OrdersSmartRoutingConfig
impl OrdersSmartRoutingConfig
Sourcepub fn seek_price_improvement(&self) -> bool
pub fn seek_price_improvement(&self) -> bool
Returns the value of seek_price_improvement, or the default value if seek_price_improvement is unset.
Sourcepub fn pre_open_reroute(&self) -> bool
pub fn pre_open_reroute(&self) -> bool
Returns the value of pre_open_reroute, or the default value if pre_open_reroute is unset.
Sourcepub fn do_not_route_to_dark_pools(&self) -> bool
pub fn do_not_route_to_dark_pools(&self) -> bool
Returns the value of do_not_route_to_dark_pools, or the default value if do_not_route_to_dark_pools is unset.
Sourcepub fn default_algorithm(&self) -> &str
pub fn default_algorithm(&self) -> &str
Returns the value of default_algorithm, or the default value if default_algorithm is unset.
Trait Implementations§
Source§impl Clone for OrdersSmartRoutingConfig
impl Clone for OrdersSmartRoutingConfig
Source§fn clone(&self) -> OrdersSmartRoutingConfig
fn clone(&self) -> OrdersSmartRoutingConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrdersSmartRoutingConfig
impl Debug for OrdersSmartRoutingConfig
Source§impl Default for OrdersSmartRoutingConfig
impl Default for OrdersSmartRoutingConfig
impl Eq for OrdersSmartRoutingConfig
Source§impl Hash for OrdersSmartRoutingConfig
impl Hash for OrdersSmartRoutingConfig
Source§impl Message for OrdersSmartRoutingConfig
impl Message for OrdersSmartRoutingConfig
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 OrdersSmartRoutingConfig
impl PartialEq for OrdersSmartRoutingConfig
impl StructuralPartialEq for OrdersSmartRoutingConfig
Auto Trait Implementations§
impl Freeze for OrdersSmartRoutingConfig
impl RefUnwindSafe for OrdersSmartRoutingConfig
impl Send for OrdersSmartRoutingConfig
impl Sync for OrdersSmartRoutingConfig
impl Unpin for OrdersSmartRoutingConfig
impl UnsafeUnpin for OrdersSmartRoutingConfig
impl UnwindSafe for OrdersSmartRoutingConfig
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