Struct aws_smithy_runtime_api::client::orchestrator::RequestTime
source · #[non_exhaustive]pub struct RequestTime(_);Expand description
Time that the request is being made (so that time can be overridden in the ConfigBag).
Implementations§
source§impl RequestTime
impl RequestTime
sourcepub fn new(time: SystemTime) -> Self
pub fn new(time: SystemTime) -> Self
Create a new RequestTime.
sourcepub fn system_time(&self) -> SystemTime
pub fn system_time(&self) -> SystemTime
Returns the request time as a SystemTime.
Trait Implementations§
source§impl Clone for RequestTime
impl Clone for RequestTime
source§fn clone(&self) -> RequestTime
fn clone(&self) -> RequestTime
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 RequestTime
impl Debug for RequestTime
source§impl Default for RequestTime
impl Default for RequestTime
source§impl PartialEq<RequestTime> for RequestTime
impl PartialEq<RequestTime> for RequestTime
source§fn eq(&self, other: &RequestTime) -> bool
fn eq(&self, other: &RequestTime) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RequestTime
impl Eq for RequestTime
impl StructuralEq for RequestTime
impl StructuralPartialEq for RequestTime
Auto Trait Implementations§
impl RefUnwindSafe for RequestTime
impl Send for RequestTime
impl Sync for RequestTime
impl Unpin for RequestTime
impl UnwindSafe for RequestTime
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