pub struct Id128(/* private fields */);Expand description
A 128-bit opaque identifier stored as 16 bytes, formatted as a hyphenated UUID string.
Implementations§
Trait Implementations§
impl Copy for Id128
Source§impl<'de> Deserialize<'de> for Id128
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Id128
Available on crate feature
serde only.Source§fn deserialize<D>(
deserializer: D,
) -> Result<Id128, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Id128, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Id128
Source§impl Ord for Id128
impl Ord for Id128
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Id128
impl PartialOrd for Id128
Source§impl Serialize for Id128
Available on crate feature serde only.
impl Serialize for Id128
Available on crate feature
serde only.Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Id128
Auto Trait Implementations§
impl Forget for Id128
impl Freeze for Id128
impl RefUnwindSafe for Id128
impl Send for Id128
impl Sync for Id128
impl Unpin for Id128
impl UnsafeUnpin for Id128
impl UnwindSafe for Id128
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