pub enum Date64Policy {
RejectNonMidnight,
TimestampDateTime2,
}Expand description
Date64 conversion policy.
Variants§
RejectNonMidnight
Reject Date64 values that are not midnight dates.
TimestampDateTime2
Remap Date64 to SQL Server datetime2.
Trait Implementations§
Source§impl Clone for Date64Policy
impl Clone for Date64Policy
Source§fn clone(&self) -> Date64Policy
fn clone(&self) -> Date64Policy
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 Date64Policy
impl Debug for Date64Policy
Source§impl Default for Date64Policy
impl Default for Date64Policy
Source§fn default() -> Date64Policy
fn default() -> Date64Policy
Returns the “default value” for a type. Read more
Source§impl Hash for Date64Policy
impl Hash for Date64Policy
Source§impl PartialEq for Date64Policy
impl PartialEq for Date64Policy
Source§fn eq(&self, other: &Date64Policy) -> bool
fn eq(&self, other: &Date64Policy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Date64Policy
impl Eq for Date64Policy
impl StructuralPartialEq for Date64Policy
Auto Trait Implementations§
impl Freeze for Date64Policy
impl RefUnwindSafe for Date64Policy
impl Send for Date64Policy
impl Sync for Date64Policy
impl Unpin for Date64Policy
impl UnsafeUnpin for Date64Policy
impl UnwindSafe for Date64Policy
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