pub struct GlobalSettings {
pub execution_threads: usize,
pub max_queue_size: usize,
pub default_timeout_ms: u64,
pub log_api_calls: bool,
}Expand description
Global settings for the EMS
Fields§
§execution_threads: usizeNumber of concurrent order execution threads
max_queue_size: usizeMaximum queue size for order events
default_timeout_ms: u64Default timeout for API calls in milliseconds
log_api_calls: boolWhether to log API requests and responses
Trait Implementations§
Source§impl Clone for GlobalSettings
impl Clone for GlobalSettings
Source§fn clone(&self) -> GlobalSettings
fn clone(&self) -> GlobalSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlobalSettings
impl Debug for GlobalSettings
Source§impl Default for GlobalSettings
impl Default for GlobalSettings
Source§impl<'de> Deserialize<'de> for GlobalSettings
impl<'de> Deserialize<'de> for GlobalSettings
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
Auto Trait Implementations§
impl Freeze for GlobalSettings
impl RefUnwindSafe for GlobalSettings
impl Send for GlobalSettings
impl Sync for GlobalSettings
impl Unpin for GlobalSettings
impl UnwindSafe for GlobalSettings
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