pub struct UuidWrapper(/* private fields */);Expand description
A Uuid wrapper that implements bincode::Encode and bincode::Decode
Implementations§
Trait Implementations§
Source§impl AsRef<Uuid> for UuidWrapper
impl AsRef<Uuid> for UuidWrapper
Source§impl<'de, Context> BorrowDecode<'de, Context> for UuidWrapper
impl<'de, Context> BorrowDecode<'de, Context> for UuidWrapper
Source§fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>( decoder: &mut D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given [
BorrowDecode]. Read moreSource§impl Clone for UuidWrapper
impl Clone for UuidWrapper
Source§fn clone(&self) -> UuidWrapper
fn clone(&self) -> UuidWrapper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UuidWrapper
Source§impl Debug for UuidWrapper
impl Debug for UuidWrapper
Source§impl<Context> Decode<Context> for UuidWrapper
impl<Context> Decode<Context> for UuidWrapper
Source§impl Default for UuidWrapper
impl Default for UuidWrapper
Source§impl Display for UuidWrapper
impl Display for UuidWrapper
Source§impl Encode for UuidWrapper
impl Encode for UuidWrapper
impl Eq for UuidWrapper
Source§impl From<Uuid> for UuidWrapper
impl From<Uuid> for UuidWrapper
Source§impl Hash for UuidWrapper
impl Hash for UuidWrapper
Source§impl Ord for UuidWrapper
impl Ord for UuidWrapper
Source§fn cmp(&self, other: &UuidWrapper) -> Ordering
fn cmp(&self, other: &UuidWrapper) -> Ordering
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
Source§impl PartialEq for UuidWrapper
impl PartialEq for UuidWrapper
Source§fn eq(&self, other: &UuidWrapper) -> bool
fn eq(&self, other: &UuidWrapper) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UuidWrapper
impl PartialOrd for UuidWrapper
impl StructuralPartialEq for UuidWrapper
Auto Trait Implementations§
impl Freeze for UuidWrapper
impl RefUnwindSafe for UuidWrapper
impl Send for UuidWrapper
impl Sync for UuidWrapper
impl Unpin for UuidWrapper
impl UnsafeUnpin for UuidWrapper
impl UnwindSafe for UuidWrapper
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