Struct jarida::Uuid[][src]

pub struct Uuid(_);

A universal identifer

Implementations

impl Uuid[src]

pub fn random() -> Result<Self, UnspecifiedError>[src]

Generate a new, random Uuid

pub fn to_bytes(&self) -> [u8; 16][src]

pub fn from_bytes(bytes: [u8; 16]) -> Self[src]

Trait Implementations

impl Clone for Uuid[src]

impl Copy for Uuid[src]

impl Debug for Uuid[src]

impl<'de> Deserialize<'de> for Uuid[src]

impl Display for Uuid[src]

impl Eq for Uuid[src]

impl FromStr for Uuid[src]

type Err = <u128 as FromStr>::Err

The associated error which can be returned from parsing.

impl Hash for Uuid[src]

impl PartialEq<Uuid> for Uuid[src]

impl Serialize for Uuid[src]

impl StructuralEq for Uuid[src]

impl StructuralPartialEq for Uuid[src]

impl TryFrom<String> for Uuid[src]

type Error = <Uuid as FromStr>::Err

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Uuid

impl Send for Uuid

impl Sync for Uuid

impl Unpin for Uuid

impl UnwindSafe for Uuid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,