pub enum ValueGeneratorFn {
Uuid,
Cuid,
Nanoid(Option<u8>),
Now,
Autoincrement,
DbGenerated,
Auto,
}
Variants§
Trait Implementations§
source§impl Clone for ValueGeneratorFn
impl Clone for ValueGeneratorFn
source§fn clone(&self) -> ValueGeneratorFn
fn clone(&self) -> ValueGeneratorFn
Returns a copy 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 PartialEq for ValueGeneratorFn
impl PartialEq for ValueGeneratorFn
source§fn eq(&self, other: &ValueGeneratorFn) -> bool
fn eq(&self, other: &ValueGeneratorFn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ValueGeneratorFn
impl StructuralPartialEq for ValueGeneratorFn
Auto Trait Implementations§
impl RefUnwindSafe for ValueGeneratorFn
impl Send for ValueGeneratorFn
impl Sync for ValueGeneratorFn
impl Unpin for ValueGeneratorFn
impl UnwindSafe for ValueGeneratorFn
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