pub struct PersonId(pub u64);Expand description
Stable numeric identifier for PersonId.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for PersonId
Source§impl<'de> Deserialize<'de> for PersonId
impl<'de> Deserialize<'de> for PersonId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersonId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersonId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PersonId
Source§impl Ord for PersonId
impl Ord for PersonId
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 PersonId
impl PartialOrd for PersonId
Source§impl Serialize for PersonId
impl Serialize for PersonId
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 PersonId
Auto Trait Implementations§
impl Freeze for PersonId
impl RefUnwindSafe for PersonId
impl Send for PersonId
impl Sync for PersonId
impl Unpin for PersonId
impl UnsafeUnpin for PersonId
impl UnwindSafe for PersonId
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