#[non_exhaustive]pub struct TimeRangeFilterOutputBuilder { /* private fields */ }Expand description
A builder for TimeRangeFilterOutput.
Implementations§
source§impl TimeRangeFilterOutputBuilder
impl TimeRangeFilterOutputBuilder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The starting time for the time range filter.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The starting time for the time range filter.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The ending time for the time range filter.
sourcepub fn build(self) -> TimeRangeFilterOutput
pub fn build(self) -> TimeRangeFilterOutput
Consumes the builder and constructs a TimeRangeFilterOutput.
Trait Implementations§
source§impl Clone for TimeRangeFilterOutputBuilder
impl Clone for TimeRangeFilterOutputBuilder
source§fn clone(&self) -> TimeRangeFilterOutputBuilder
fn clone(&self) -> TimeRangeFilterOutputBuilder
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 Debug for TimeRangeFilterOutputBuilder
impl Debug for TimeRangeFilterOutputBuilder
source§impl Default for TimeRangeFilterOutputBuilder
impl Default for TimeRangeFilterOutputBuilder
source§fn default() -> TimeRangeFilterOutputBuilder
fn default() -> TimeRangeFilterOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TimeRangeFilterOutputBuilder> for TimeRangeFilterOutputBuilder
impl PartialEq<TimeRangeFilterOutputBuilder> for TimeRangeFilterOutputBuilder
source§fn eq(&self, other: &TimeRangeFilterOutputBuilder) -> bool
fn eq(&self, other: &TimeRangeFilterOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TimeRangeFilterOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TimeRangeFilterOutputBuilder
impl Send for TimeRangeFilterOutputBuilder
impl Sync for TimeRangeFilterOutputBuilder
impl Unpin for TimeRangeFilterOutputBuilder
impl UnwindSafe for TimeRangeFilterOutputBuilder
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