pub struct ParticipantId(/* private fields */);Expand description
One logical participant of the system: what a role is played by, before anybody knows which agent or person will turn up.
Implementations§
Source§impl ParticipantId
impl ParticipantId
Trait Implementations§
Source§impl Clone for ParticipantId
impl Clone for ParticipantId
Source§impl Debug for ParticipantId
impl Debug for ParticipantId
Source§impl<'de> Deserialize<'de> for ParticipantId
Decoding goes through the constructor.
impl<'de> Deserialize<'de> for ParticipantId
Decoding goes through the constructor.
A derived implementation would accept a stored or transmitted value this type refuses to be built from, and the invariant would hold everywhere except where the document came from outside — which is the only place it was ever at risk.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ParticipantId
impl Display for ParticipantId
impl Eq for ParticipantId
Source§impl Hash for ParticipantId
impl Hash for ParticipantId
Source§impl Ord for ParticipantId
impl Ord for ParticipantId
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 ParticipantId
impl PartialEq for ParticipantId
Source§impl PartialOrd for ParticipantId
impl PartialOrd for ParticipantId
Source§impl Serialize for ParticipantId
impl Serialize for ParticipantId
impl StructuralPartialEq for ParticipantId
Source§impl TryFrom<&str> for ParticipantId
impl TryFrom<&str> for ParticipantId
Auto Trait Implementations§
impl Freeze for ParticipantId
impl RefUnwindSafe for ParticipantId
impl Send for ParticipantId
impl Sync for ParticipantId
impl Unpin for ParticipantId
impl UnsafeUnpin for ParticipantId
impl UnwindSafe for ParticipantId
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