pub enum ManagedTimestamp {
CreatedAt,
UpdatedAt,
}Expand description
Database-owned timestamp assignment during bounded write preparation.
Variants§
CreatedAt
Set on insertion and preserve on replacement.
UpdatedAt
Set on insertion and on a semantic change, preserving no-op timestamps.
Trait Implementations§
Source§impl Clone for ManagedTimestamp
impl Clone for ManagedTimestamp
impl Copy for ManagedTimestamp
Source§impl Debug for ManagedTimestamp
impl Debug for ManagedTimestamp
impl Eq for ManagedTimestamp
Source§impl PartialEq for ManagedTimestamp
impl PartialEq for ManagedTimestamp
impl StructuralPartialEq for ManagedTimestamp
Auto Trait Implementations§
impl Forget for ManagedTimestamp
impl Freeze for ManagedTimestamp
impl Move for ManagedTimestamp
impl RefUnwindSafe for ManagedTimestamp
impl Send for ManagedTimestamp
impl Sync for ManagedTimestamp
impl Unpin for ManagedTimestamp
impl UnsafeUnpin for ManagedTimestamp
impl UnwindSafe for ManagedTimestamp
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