pub enum UuidVersion {
V4,
V7,
}Expand description
UUID version to use for auto-generated UUID fields.
§Examples
use toasty_core::schema::app::UuidVersion;
let v4 = UuidVersion::V4;
let v7 = UuidVersion::V7;Variants§
Trait Implementations§
Source§impl Clone for UuidVersion
impl Clone for UuidVersion
Source§fn clone(&self) -> UuidVersion
fn clone(&self) -> UuidVersion
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 moreAuto Trait Implementations§
impl Freeze for UuidVersion
impl RefUnwindSafe for UuidVersion
impl Send for UuidVersion
impl Sync for UuidVersion
impl Unpin for UuidVersion
impl UnwindSafe for UuidVersion
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