pub struct ParticipantId(/* private fields */);Expand description
Addresses one participant directly. Distinct from RoomId on purpose: a room id must never be accepted where a participant id is meant, and a shared alias would let one slip into the other’s slot.
Implementations§
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
impl<'de> Deserialize<'de> for ParticipantId
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
Source§impl Display for ParticipantId
impl Display for ParticipantId
impl Eq for ParticipantId
Source§impl FromStr for ParticipantId
impl FromStr 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
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