pub struct TransactionTime(pub DateTime<Utc>);Expand description
Transaction-time stamp: machine-assigned, monotone, reliable. Engine-assigned; host cannot supply this as truth.
Tuple Fields§
§0: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl Clone for TransactionTime
impl Clone for TransactionTime
Source§fn clone(&self) -> TransactionTime
fn clone(&self) -> TransactionTime
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 TransactionTime
impl Debug for TransactionTime
Source§impl<'de> Deserialize<'de> for TransactionTime
impl<'de> Deserialize<'de> for TransactionTime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TransactionTime
Source§impl Ord for TransactionTime
impl Ord for TransactionTime
Source§fn cmp(&self, other: &TransactionTime) -> Ordering
fn cmp(&self, other: &TransactionTime) -> Ordering
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
Source§impl PartialEq for TransactionTime
impl PartialEq for TransactionTime
Source§fn eq(&self, other: &TransactionTime) -> bool
fn eq(&self, other: &TransactionTime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TransactionTime
impl PartialOrd for TransactionTime
Source§impl Serialize for TransactionTime
impl Serialize for TransactionTime
impl StructuralPartialEq for TransactionTime
Auto Trait Implementations§
impl Freeze for TransactionTime
impl RefUnwindSafe for TransactionTime
impl Send for TransactionTime
impl Sync for TransactionTime
impl Unpin for TransactionTime
impl UnsafeUnpin for TransactionTime
impl UnwindSafe for TransactionTime
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