#[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<StreamingDataPreviewOptionsBuilder> for StreamingDataPreviewOptionsBuilder
impl PartialEq<StreamingDataPreviewOptionsBuilder> 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 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