pub struct SelfTradingConfig {
pub mode: SelfTradingMode,
pub extended_to_subaccounts: bool,
pub block_rfq_self_match_prevention: Option<bool>,
}Expand description
Self-trading configuration
Fields§
§mode: SelfTradingModeThe self-trading prevention mode
extended_to_subaccounts: boolWhether the config extends to subaccounts
block_rfq_self_match_prevention: Option<bool>Whether to block RFQ self-match prevention
Trait Implementations§
Source§impl Clone for SelfTradingConfig
impl Clone for SelfTradingConfig
Source§fn clone(&self) -> SelfTradingConfig
fn clone(&self) -> SelfTradingConfig
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 SelfTradingConfig
impl Debug for SelfTradingConfig
Source§impl<'de> Deserialize<'de> for SelfTradingConfig
impl<'de> Deserialize<'de> for SelfTradingConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SelfTradingConfig
impl PartialEq for SelfTradingConfig
Source§impl Serialize for SelfTradingConfig
impl Serialize for SelfTradingConfig
impl StructuralPartialEq for SelfTradingConfig
Auto Trait Implementations§
impl Freeze for SelfTradingConfig
impl RefUnwindSafe for SelfTradingConfig
impl Send for SelfTradingConfig
impl Sync for SelfTradingConfig
impl Unpin for SelfTradingConfig
impl UnsafeUnpin for SelfTradingConfig
impl UnwindSafe for SelfTradingConfig
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