pub struct AmzDate {
pub ymd: String,
pub iso: String,
}Expand description
AWS request date in the two forms SigV4 needs: YYYYMMDD (scope) and
YYYYMMDDTHHMMSSZ (x-amz-date). Built from a Unix timestamp with a
pure civil-date conversion so it’s deterministic + test-vector-able.
Fields§
§ymd: String§iso: StringImplementations§
Trait Implementations§
impl Eq for AmzDate
impl StructuralPartialEq for AmzDate
Auto Trait Implementations§
impl Freeze for AmzDate
impl RefUnwindSafe for AmzDate
impl Send for AmzDate
impl Sync for AmzDate
impl Unpin for AmzDate
impl UnsafeUnpin for AmzDate
impl UnwindSafe for AmzDate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.