pub enum NanosecondPolicy {
RejectNon100ns,
RoundTo100ns,
TruncateTo100ns,
}Expand description
Nanosecond timestamp precision policy.
Variants§
RejectNon100ns
Reject nanosecond timestamps not divisible by 100.
RoundTo100ns
Round to SQL Server 100ns precision.
TruncateTo100ns
Truncate to SQL Server 100ns precision.
Trait Implementations§
Source§impl Clone for NanosecondPolicy
impl Clone for NanosecondPolicy
Source§fn clone(&self) -> NanosecondPolicy
fn clone(&self) -> NanosecondPolicy
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 NanosecondPolicy
Source§impl Debug for NanosecondPolicy
impl Debug for NanosecondPolicy
Source§impl Default for NanosecondPolicy
impl Default for NanosecondPolicy
Source§fn default() -> NanosecondPolicy
fn default() -> NanosecondPolicy
Returns the “default value” for a type. Read more
impl Eq for NanosecondPolicy
Source§impl Hash for NanosecondPolicy
impl Hash for NanosecondPolicy
Source§impl PartialEq for NanosecondPolicy
impl PartialEq for NanosecondPolicy
impl StructuralPartialEq for NanosecondPolicy
Auto Trait Implementations§
impl Freeze for NanosecondPolicy
impl RefUnwindSafe for NanosecondPolicy
impl Send for NanosecondPolicy
impl Sync for NanosecondPolicy
impl Unpin for NanosecondPolicy
impl UnsafeUnpin for NanosecondPolicy
impl UnwindSafe for NanosecondPolicy
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