pub struct ContactId(/* private fields */);Expand description
Contact ID newtype for type safety.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContactId
impl<'de> Deserialize<'de> for ContactId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContactId
impl StructuralPartialEq for ContactId
Auto Trait Implementations§
impl Freeze for ContactId
impl RefUnwindSafe for ContactId
impl Send for ContactId
impl Sync for ContactId
impl Unpin for ContactId
impl UnsafeUnpin for ContactId
impl UnwindSafe for ContactId
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