pub enum Version {
Nil,
Mac,
Dce,
Md5,
Random,
Sha1,
}
Expand description
The version of the UUID, denoting the generating algorithm.
Variants
Nil
Special case for nil
UUID.
Mac
Version 1: MAC address.
Dce
Version 2: DCE Security.
Md5
Version 3: MD5 hash.
Random
Version 4: Random.
Sha1
Version 5: SHA-1 hash.
Trait Implementations
impl Copy for Version
impl StructuralPartialEq for Version
Auto Trait Implementations
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more