Enum sqlx_oldapi::types::uuid::Version
source ยท #[non_exhaustive]#[repr(u8)]pub enum Version {
Nil,
Mac,
Dce,
Md5,
Random,
Sha1,
}
Expand description
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Nil
The โnilโ (all zeros) UUID.
Mac
Version 1: Timestamp and node ID.
Dce
Version 2: DCE Security.
Md5
Version 3: MD5 hash.
Random
Version 4: Random.
Sha1
Version 5: SHA-1 hash.
Trait Implementationsยง
sourceยงimpl PartialEq<Version> for Version
impl PartialEq<Version> for Version
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ยง
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