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).
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 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).
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).
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<DateRangeBuilder> for DateRangeBuilder
impl PartialEq<DateRangeBuilder> 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