pub struct TimePrecision(/* private fields */);Expand description
Fractional-second precision for PostgreSQL time, timestamp and interval types.
Implementations§
Trait Implementations§
Source§impl Clone for TimePrecision
impl Clone for TimePrecision
impl Copy for TimePrecision
Source§impl Debug for TimePrecision
impl Debug for TimePrecision
Source§impl Display for TimePrecision
impl Display for TimePrecision
impl Eq for TimePrecision
Source§impl Hash for TimePrecision
impl Hash for TimePrecision
Source§impl Ord for TimePrecision
impl Ord for TimePrecision
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TimePrecision
impl PartialEq for TimePrecision
Source§impl PartialOrd for TimePrecision
impl PartialOrd for TimePrecision
impl StructuralPartialEq for TimePrecision
Auto Trait Implementations§
impl Forget for TimePrecision
impl Freeze for TimePrecision
impl Move for TimePrecision
impl RefUnwindSafe for TimePrecision
impl Send for TimePrecision
impl Sync for TimePrecision
impl Unpin for TimePrecision
impl UnsafeUnpin for TimePrecision
impl UnwindSafe for TimePrecision
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