pub struct LiveDataClientConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LiveDataClientConfigBuilder<S>
impl<S: State> LiveDataClientConfigBuilder<S>
Sourcepub fn build(self) -> LiveDataClientConfigwhere
S: IsComplete,
pub fn build(self) -> LiveDataClientConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn handle_revised_bars(
self,
value: bool,
) -> LiveDataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
pub fn handle_revised_bars(
self,
value: bool,
) -> LiveDataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
Sourcepub fn maybe_handle_revised_bars(
self,
value: Option<bool>,
) -> LiveDataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
pub fn maybe_handle_revised_bars(
self,
value: Option<bool>,
) -> LiveDataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
Sourcepub fn instrument_provider(
self,
value: InstrumentProviderConfig,
) -> LiveDataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
pub fn instrument_provider(
self,
value: InstrumentProviderConfig,
) -> LiveDataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
Sourcepub fn maybe_instrument_provider(
self,
value: Option<InstrumentProviderConfig>,
) -> LiveDataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
pub fn maybe_instrument_provider(
self,
value: Option<InstrumentProviderConfig>,
) -> LiveDataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
Sourcepub fn routing(
self,
value: RoutingConfig,
) -> LiveDataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn routing(
self,
value: RoutingConfig,
) -> LiveDataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
Sourcepub fn maybe_routing(
self,
value: Option<RoutingConfig>,
) -> LiveDataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn maybe_routing(
self,
value: Option<RoutingConfig>,
) -> LiveDataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for LiveDataClientConfigBuilder<S>
impl<S> RefUnwindSafe for LiveDataClientConfigBuilder<S>
impl<S> Send for LiveDataClientConfigBuilder<S>
impl<S> Sync for LiveDataClientConfigBuilder<S>
impl<S> Unpin for LiveDataClientConfigBuilder<S>
impl<S> UnsafeUnpin for LiveDataClientConfigBuilder<S>
impl<S> UnwindSafe for LiveDataClientConfigBuilder<S>
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