pub struct DataEngineConfig {
pub time_bars_build_with_no_updates: bool,
pub time_bars_timestamp_on_close: bool,
pub time_bars_interval_type: String,
pub validate_data_sequence: bool,
pub buffer_deltas: bool,
pub external_clients: Option<Vec<ClientId>>,
pub debug: bool,
}
Expand description
Configuration for DataEngine
instances.
Fields§
§time_bars_build_with_no_updates: bool
§time_bars_timestamp_on_close: bool
§time_bars_interval_type: String
§validate_data_sequence: bool
§buffer_deltas: bool
§external_clients: Option<Vec<ClientId>>
§debug: bool
Trait Implementations§
Source§impl Default for DataEngineConfig
impl Default for DataEngineConfig
Source§fn default() -> Self
fn default() -> Self
Creates a new default DataEngineConfig
instance.
Auto Trait Implementations§
impl Freeze for DataEngineConfig
impl RefUnwindSafe for DataEngineConfig
impl Send for DataEngineConfig
impl Sync for DataEngineConfig
impl Unpin for DataEngineConfig
impl UnwindSafe for DataEngineConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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