pub struct LiveDataClientConfig {
pub handle_revised_bars: bool,
pub instrument_provider: InstrumentProviderConfig,
pub routing: RoutingConfig,
}Expand description
Configuration for live data clients.
Fields§
§handle_revised_bars: boolIf DataClient will emit bar updates when a new bar opens.
instrument_provider: InstrumentProviderConfigThe client’s instrument provider configuration.
routing: RoutingConfigThe client’s message routing configuration.
Implementations§
Source§impl LiveDataClientConfig
impl LiveDataClientConfig
Sourcepub fn builder() -> LiveDataClientConfigBuilder
pub fn builder() -> LiveDataClientConfigBuilder
Create an instance of LiveDataClientConfig using the builder syntax
Trait Implementations§
Source§impl Clone for LiveDataClientConfig
impl Clone for LiveDataClientConfig
Source§fn clone(&self) -> LiveDataClientConfig
fn clone(&self) -> LiveDataClientConfig
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 LiveDataClientConfig
impl Debug for LiveDataClientConfig
Source§impl Default for LiveDataClientConfig
impl Default for LiveDataClientConfig
Source§fn default() -> LiveDataClientConfig
fn default() -> LiveDataClientConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LiveDataClientConfigwhere
LiveDataClientConfig: Default,
impl<'de> Deserialize<'de> for LiveDataClientConfigwhere
LiveDataClientConfig: 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 LiveDataClientConfig
impl PartialEq for LiveDataClientConfig
Source§impl Serialize for LiveDataClientConfig
impl Serialize for LiveDataClientConfig
impl StructuralPartialEq for LiveDataClientConfig
Auto Trait Implementations§
impl Freeze for LiveDataClientConfig
impl RefUnwindSafe for LiveDataClientConfig
impl Send for LiveDataClientConfig
impl Sync for LiveDataClientConfig
impl Unpin for LiveDataClientConfig
impl UnsafeUnpin for LiveDataClientConfig
impl UnwindSafe for LiveDataClientConfig
Blanket Implementations§
impl<T> Allocation for T
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