Enum bonsaidb::keystorage::s3::aws_sdk_s3::primitives::DateTimeFormat
pub enum DateTimeFormat {
DateTime,
DateTimeWithOffset,
HttpDate,
EpochSeconds,
}
Expand description
Formats for representing a DateTime
in the Smithy protocols.
Variants§
DateTime
RFC-3339 Date Time. If the date time has an offset, an error will be returned.
e.g. 2019-12-16T23:48:18Z
DateTimeWithOffset
RFC-3339 Date Time. Offsets are supported.
e.g. 2019-12-16T23:48:18+01:00
HttpDate
Date format used by the HTTP Date
header, specified in RFC-7231.
e.g. Mon, 16 Dec 2019 23:48:18 GMT
EpochSeconds
Number of seconds since the Unix epoch formatted as a floating point.
e.g. 1576540098.52
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralEq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.