pub struct MarketConfig {
pub health: HealthThresholds,
pub venue_catalog_url: Option<String>,
}Expand description
Market analysis configuration.
Fields§
§health: HealthThresholdsOrder book health thresholds. Keys left out keep the built-in default.
venue_catalog_url: Option<String>Where scope venues update fetches the venue catalog from (a folder
URL holding index.json). Unset: the scope repository’s catalog.
Implementations§
Source§impl MarketConfig
impl MarketConfig
Sourcepub fn catalog_url(&self) -> &str
pub fn catalog_url(&self) -> &str
The venue catalog’s URL: the configured one, else the default.
Trait Implementations§
Source§impl Clone for MarketConfig
impl Clone for MarketConfig
Source§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
Source§impl PartialEq for MarketConfig
impl PartialEq for MarketConfig
Source§impl Serialize for MarketConfig
impl Serialize for MarketConfig
impl StructuralPartialEq for MarketConfig
Auto Trait Implementations§
impl Forget for MarketConfig
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