pub struct MarketConfig {
pub exchange: String,
pub update_interval_ms: u64,
pub enable_orderbook: bool,
pub orderbook_depth: u32,
pub timeframes: TimeframesConfig,
}Fields§
§exchange: StringPrimary exchange
update_interval_ms: u64Update interval in milliseconds
enable_orderbook: boolEnable order book
orderbook_depth: u32Order book depth
timeframes: TimeframesConfigTimeframes configuration
Trait Implementations§
Source§impl Clone for MarketConfig
impl Clone for MarketConfig
Source§fn clone(&self) -> MarketConfig
fn clone(&self) -> MarketConfig
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 MarketConfig
impl Debug for MarketConfig
Source§impl Default for MarketConfig
impl Default for MarketConfig
Source§impl<'de> Deserialize<'de> for MarketConfigwhere
MarketConfig: Default,
impl<'de> Deserialize<'de> for MarketConfigwhere
MarketConfig: Default,
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 MarketConfig
impl RefUnwindSafe for MarketConfig
impl Send for MarketConfig
impl Sync for MarketConfig
impl Unpin for MarketConfig
impl UnsafeUnpin for MarketConfig
impl UnwindSafe for MarketConfig
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