pub struct ManagedExchangeConfig {
pub batch_orders: bool,
pub batch_config: BatchConfig,
pub auto_rotate_agents: bool,
pub agent_config: AgentConfig,
pub isolate_subaccount_nonces: bool,
pub prevent_agent_address_queries: bool,
pub warn_on_high_nonce_velocity: bool,
}Expand description
Configuration for managed exchange provider
Fields§
§batch_orders: boolEnable automatic order batching
batch_config: BatchConfigBatch configuration
auto_rotate_agents: boolAgent lifecycle management
agent_config: AgentConfigAgent configuration
isolate_subaccount_nonces: boolNonce isolation per subaccount
prevent_agent_address_queries: boolSafety features
warn_on_high_nonce_velocity: boolTrait Implementations§
Source§impl Clone for ManagedExchangeConfig
impl Clone for ManagedExchangeConfig
Source§fn clone(&self) -> ManagedExchangeConfig
fn clone(&self) -> ManagedExchangeConfig
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 ManagedExchangeConfig
impl Debug for ManagedExchangeConfig
Auto Trait Implementations§
impl Freeze for ManagedExchangeConfig
impl RefUnwindSafe for ManagedExchangeConfig
impl Send for ManagedExchangeConfig
impl Sync for ManagedExchangeConfig
impl Unpin for ManagedExchangeConfig
impl UnsafeUnpin for ManagedExchangeConfig
impl UnwindSafe for ManagedExchangeConfig
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more