pub enum FieldInsertGeneration {
Ulid,
Timestamp,
}Expand description
FieldInsertGeneration
FieldInsertGeneration declares whether one runtime field may be synthesized
by the reduced SQL insert boundary when the user omits that field.
This stays separate from typed-Rust Default behavior so write-time
generation remains an explicit schema contract.
Variants§
Ulid
Generate one fresh Ulid value at insert time.
Timestamp
Generate one current wall-clock Timestamp value at insert time.
Trait Implementations§
Source§impl Clone for FieldInsertGeneration
impl Clone for FieldInsertGeneration
Source§fn clone(&self) -> FieldInsertGeneration
fn clone(&self) -> FieldInsertGeneration
Returns a duplicate of the value. Read more
1.0.0 · 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 FieldInsertGeneration
impl Debug for FieldInsertGeneration
Source§impl PartialEq for FieldInsertGeneration
impl PartialEq for FieldInsertGeneration
impl Copy for FieldInsertGeneration
impl Eq for FieldInsertGeneration
impl StructuralPartialEq for FieldInsertGeneration
Auto Trait Implementations§
impl Freeze for FieldInsertGeneration
impl RefUnwindSafe for FieldInsertGeneration
impl Send for FieldInsertGeneration
impl Sync for FieldInsertGeneration
impl Unpin for FieldInsertGeneration
impl UnsafeUnpin for FieldInsertGeneration
impl UnwindSafe for FieldInsertGeneration
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