Struct aws_sdk_backup::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 from_date(self, input: DateTime) -> Self
pub fn from_date(self, input: DateTime) -> Self
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
This field is required.sourcepub fn set_from_date(self, input: Option<DateTime>) -> Self
pub fn set_from_date(self, input: Option<DateTime>) -> Self
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn get_from_date(&self) -> &Option<DateTime>
pub fn get_from_date(&self) -> &Option<DateTime>
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn to_date(self, input: DateTime) -> Self
pub fn to_date(self, input: DateTime) -> Self
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
This field is required.sourcepub fn set_to_date(self, input: Option<DateTime>) -> Self
pub fn set_to_date(self, input: Option<DateTime>) -> Self
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
sourcepub fn get_to_date(&self) -> &Option<DateTime>
pub fn get_to_date(&self) -> &Option<DateTime>
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
Trait Implementations§
source§impl Clone for DateRangeBuilder
impl Clone for DateRangeBuilder
source§fn clone(&self) -> DateRangeBuilder
fn clone(&self) -> DateRangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DateRangeBuilder
impl PartialEq for DateRangeBuilder
impl StructuralPartialEq for DateRangeBuilder
Auto Trait Implementations§
impl Freeze for DateRangeBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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