Struct aws_sdk_securityhub::types::builders::DateRangeBuilder
source · #[non_exhaustive]pub struct DateRangeBuilder { /* private fields */ }
Expand description
A builder for DateRange
.
Implementations§
source§impl DateRangeBuilder
impl DateRangeBuilder
sourcepub fn unit(self, input: DateRangeUnit) -> Self
pub fn unit(self, input: DateRangeUnit) -> Self
A date range unit for the date filter.
sourcepub fn set_unit(self, input: Option<DateRangeUnit>) -> Self
pub fn set_unit(self, input: Option<DateRangeUnit>) -> Self
A date range unit for the date filter.
sourcepub fn get_unit(&self) -> &Option<DateRangeUnit>
pub fn get_unit(&self) -> &Option<DateRangeUnit>
A date range unit for the date filter.
Trait Implementations§
source§impl Clone for DateRangeBuilder
impl Clone for DateRangeBuilder
source§fn clone(&self) -> DateRangeBuilder
fn clone(&self) -> DateRangeBuilder
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 DateRangeBuilder
impl Debug for DateRangeBuilder
source§impl Default for DateRangeBuilder
impl Default for DateRangeBuilder
source§fn default() -> DateRangeBuilder
fn default() -> DateRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DateRangeBuilder
impl PartialEq for DateRangeBuilder
source§fn eq(&self, other: &DateRangeBuilder) -> bool
fn eq(&self, other: &DateRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DateRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DateRangeBuilder
impl Send for DateRangeBuilder
impl Sync for DateRangeBuilder
impl Unpin for DateRangeBuilder
impl UnwindSafe for DateRangeBuilder
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>
Creates a shared type from an unshared type.