pub struct MailParticipantId(/* private fields */);Expand description
Re-export common wire types so hosts can use mail4agent_client::*.
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§fn clone(&self) -> ParticipantId
fn clone(&self) -> ParticipantId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<ParticipantId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ParticipantId, <D as Deserializer<'de>>::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
Source§fn cmp(&self, other: &ParticipantId) -> Ordering
fn cmp(&self, other: &ParticipantId) -> Ordering
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
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 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