#[non_exhaustive]pub struct StreamingDataPreviewOptionsBuilder { /* private fields */ }Expand description
A builder for StreamingDataPreviewOptions.
Implementations§
source§impl StreamingDataPreviewOptionsBuilder
impl StreamingDataPreviewOptionsBuilder
sourcepub fn polling_time(self, input: i64) -> Self
pub fn polling_time(self, input: i64) -> Self
The polling time in milliseconds.
sourcepub fn set_polling_time(self, input: Option<i64>) -> Self
pub fn set_polling_time(self, input: Option<i64>) -> Self
The polling time in milliseconds.
sourcepub fn get_polling_time(&self) -> &Option<i64>
pub fn get_polling_time(&self) -> &Option<i64>
The polling time in milliseconds.
sourcepub fn record_polling_limit(self, input: i64) -> Self
pub fn record_polling_limit(self, input: i64) -> Self
The limit to the number of records polled.
sourcepub fn set_record_polling_limit(self, input: Option<i64>) -> Self
pub fn set_record_polling_limit(self, input: Option<i64>) -> Self
The limit to the number of records polled.
sourcepub fn get_record_polling_limit(&self) -> &Option<i64>
pub fn get_record_polling_limit(&self) -> &Option<i64>
The limit to the number of records polled.
sourcepub fn build(self) -> StreamingDataPreviewOptions
pub fn build(self) -> StreamingDataPreviewOptions
Consumes the builder and constructs a StreamingDataPreviewOptions.
Trait Implementations§
source§impl Clone for StreamingDataPreviewOptionsBuilder
impl Clone for StreamingDataPreviewOptionsBuilder
source§fn clone(&self) -> StreamingDataPreviewOptionsBuilder
fn clone(&self) -> StreamingDataPreviewOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for StreamingDataPreviewOptionsBuilder
impl Default for StreamingDataPreviewOptionsBuilder
source§fn default() -> StreamingDataPreviewOptionsBuilder
fn default() -> StreamingDataPreviewOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StreamingDataPreviewOptionsBuilder
impl PartialEq for StreamingDataPreviewOptionsBuilder
source§fn eq(&self, other: &StreamingDataPreviewOptionsBuilder) -> bool
fn eq(&self, other: &StreamingDataPreviewOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StreamingDataPreviewOptionsBuilder
Auto Trait Implementations§
impl Freeze for StreamingDataPreviewOptionsBuilder
impl RefUnwindSafe for StreamingDataPreviewOptionsBuilder
impl Send for StreamingDataPreviewOptionsBuilder
impl Sync for StreamingDataPreviewOptionsBuilder
impl Unpin for StreamingDataPreviewOptionsBuilder
impl UnwindSafe for StreamingDataPreviewOptionsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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 moreCreates a shared type from an unshared type.