pub struct ResidentId(/* private fields */);Expand description
Non-empty resident identity; the role@building.n grammar tightens
with city::resident.
Implementations§
Trait Implementations§
Source§impl Clone for ResidentId
impl Clone for ResidentId
Source§impl Debug for ResidentId
impl Debug for ResidentId
Source§impl<'de> Deserialize<'de> for ResidentId
impl<'de> Deserialize<'de> for ResidentId
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 ResidentId
Source§impl Ord for ResidentId
impl Ord for ResidentId
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 PartialEq for ResidentId
impl PartialEq for ResidentId
Source§impl PartialOrd for ResidentId
impl PartialOrd for ResidentId
Source§impl Serialize for ResidentId
impl Serialize for ResidentId
impl StructuralPartialEq for ResidentId
Auto Trait Implementations§
impl Freeze for ResidentId
impl RefUnwindSafe for ResidentId
impl Send for ResidentId
impl Sync for ResidentId
impl Unpin for ResidentId
impl UnsafeUnpin for ResidentId
impl UnwindSafe for ResidentId
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