Struct aws_sdk_shield::model::TimeRange
source · [−]#[non_exhaustive]pub struct TimeRange { /* private fields */ }
Expand description
The time range.
Implementations
sourceimpl TimeRange
impl TimeRange
sourcepub fn from_inclusive(&self) -> Option<&DateTime>
pub fn from_inclusive(&self) -> Option<&DateTime>
The start time, in Unix time in seconds.
sourcepub fn to_exclusive(&self) -> Option<&DateTime>
pub fn to_exclusive(&self) -> Option<&DateTime>
The end time, in Unix time in seconds.
Trait Implementations
impl StructuralPartialEq for TimeRange
Auto Trait Implementations
impl RefUnwindSafe for TimeRange
impl Send for TimeRange
impl Sync for TimeRange
impl Unpin for TimeRange
impl UnwindSafe for TimeRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more