pub enum DateTimeEncoding {
EpochSeconds,
EpochMillis,
}Expand description
§8.5 Date/time encoding.
Variants§
Trait Implementations§
Source§impl Clone for DateTimeEncoding
impl Clone for DateTimeEncoding
Source§fn clone(&self) -> DateTimeEncoding
fn clone(&self) -> DateTimeEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DateTimeEncoding
impl Debug for DateTimeEncoding
Source§impl PartialEq for DateTimeEncoding
impl PartialEq for DateTimeEncoding
Source§fn eq(&self, other: &DateTimeEncoding) -> bool
fn eq(&self, other: &DateTimeEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DateTimeEncoding
impl Eq for DateTimeEncoding
impl StructuralPartialEq for DateTimeEncoding
Auto Trait Implementations§
impl Freeze for DateTimeEncoding
impl RefUnwindSafe for DateTimeEncoding
impl Send for DateTimeEncoding
impl Sync for DateTimeEncoding
impl Unpin for DateTimeEncoding
impl UnsafeUnpin for DateTimeEncoding
impl UnwindSafe for DateTimeEncoding
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,
§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.