pub struct ConversationId(/* private fields */);Expand description
A unique identifier for a group/conversation. The identifier must be unique within a client.
Trait Implementations§
Source§impl AsRef<[u8]> for ConversationId
 
impl AsRef<[u8]> for ConversationId
Source§impl Borrow<ConversationIdRef> for ConversationId
 
impl Borrow<ConversationIdRef> for ConversationId
Source§fn borrow(&self) -> &ConversationIdRef
 
fn borrow(&self) -> &ConversationIdRef
Immutably borrows from an owned value. Read more
Source§impl Clone for ConversationId
 
impl Clone for ConversationId
Source§fn clone(&self) -> ConversationId
 
fn clone(&self) -> ConversationId
Returns a duplicate of the value. Read more
1.0.0 · 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 ConversationId
 
impl Debug for ConversationId
Source§impl Deref for ConversationId
 
impl Deref for ConversationId
Source§impl From<&[u8]> for ConversationId
 
impl From<&[u8]> for ConversationId
Source§impl<'a> From<&'a ConversationId> for Cow<'a, [u8]>
 
impl<'a> From<&'a ConversationId> for Cow<'a, [u8]>
Source§fn from(value: &'a ConversationId) -> Self
 
fn from(value: &'a ConversationId) -> Self
Converts to this type from the input type.
Source§impl From<ConversationId> for Cow<'_, [u8]>
 
impl From<ConversationId> for Cow<'_, [u8]>
Source§fn from(value: ConversationId) -> Self
 
fn from(value: ConversationId) -> Self
Converts to this type from the input type.
Source§impl From<ConversationId> for Vec<u8>
 
impl From<ConversationId> for Vec<u8>
Source§fn from(value: ConversationId) -> Self
 
fn from(value: ConversationId) -> Self
Converts to this type from the input type.
Source§impl Hash for ConversationId
 
impl Hash for ConversationId
Source§impl Ord for ConversationId
 
impl Ord for ConversationId
Source§fn cmp(&self, other: &ConversationId) -> Ordering
 
fn cmp(&self, other: &ConversationId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ConversationId
 
impl PartialEq for ConversationId
Source§impl PartialOrd for ConversationId
 
impl PartialOrd for ConversationId
impl Eq for ConversationId
impl StructuralPartialEq for ConversationId
Auto Trait Implementations§
impl Freeze for ConversationId
impl RefUnwindSafe for ConversationId
impl Send for ConversationId
impl Sync for ConversationId
impl Unpin for ConversationId
impl UnwindSafe for ConversationId
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToHex for T
 
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
    U: FromIterator<char>,
 
fn encode_hex<U>(&self) -> Uwhere
    U: FromIterator<char>,
Encode the hex strict representing 
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
    U: FromIterator<char>,
 
fn encode_hex_upper<U>(&self) -> Uwhere
    U: FromIterator<char>,
Encode the hex strict representing 
self into the result. Upper case
letters are used (e.g. F9B4CA)