pub enum TimestampPolicy {
DateTime2 {
precision: u8,
},
DateTime,
}Expand description
Timezone-free timestamp target policy.
Variants§
Trait Implementations§
Source§impl Clone for TimestampPolicy
impl Clone for TimestampPolicy
Source§fn clone(&self) -> TimestampPolicy
fn clone(&self) -> TimestampPolicy
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 moreimpl Copy for TimestampPolicy
Source§impl Debug for TimestampPolicy
impl Debug for TimestampPolicy
Source§impl Default for TimestampPolicy
impl Default for TimestampPolicy
impl Eq for TimestampPolicy
Source§impl Hash for TimestampPolicy
impl Hash for TimestampPolicy
Source§impl PartialEq for TimestampPolicy
impl PartialEq for TimestampPolicy
Source§fn eq(&self, other: &TimestampPolicy) -> bool
fn eq(&self, other: &TimestampPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimestampPolicy
Auto Trait Implementations§
impl Freeze for TimestampPolicy
impl RefUnwindSafe for TimestampPolicy
impl Send for TimestampPolicy
impl Sync for TimestampPolicy
impl Unpin for TimestampPolicy
impl UnsafeUnpin for TimestampPolicy
impl UnwindSafe for TimestampPolicy
Blanket Implementations§
impl<T> Allocation for T
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