pub struct ConversationIdRef(/* private fields */);
Expand description
Reference to a ConversationId.
This type is !Sized
and is only ever seen as a reference, like str
or [u8]
.
Implementations§
Trait Implementations§
Source§impl AsRef<[u8]> for ConversationIdRef
impl AsRef<[u8]> for ConversationIdRef
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<'a> From<&'a ConversationIdRef> for Cow<'a, [u8]>
impl<'a> From<&'a ConversationIdRef> for Cow<'a, [u8]>
Source§fn from(value: &'a ConversationIdRef) -> Self
fn from(value: &'a ConversationIdRef) -> Self
Converts to this type from the input type.
Source§impl Hash for ConversationIdRef
impl Hash for ConversationIdRef
Source§impl Ord for ConversationIdRef
impl Ord for ConversationIdRef
Source§impl PartialEq for ConversationIdRef
impl PartialEq for ConversationIdRef
Source§impl PartialOrd for ConversationIdRef
impl PartialOrd for ConversationIdRef
Source§impl ToOwned for ConversationIdRef
impl ToOwned for ConversationIdRef
Source§type Owned = ConversationId
type Owned = ConversationId
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for ConversationIdRef
impl StructuralPartialEq for ConversationIdRef
Auto Trait Implementations§
impl Freeze for ConversationIdRef
impl RefUnwindSafe for ConversationIdRef
impl Send for ConversationIdRef
impl !Sized for ConversationIdRef
impl Sync for ConversationIdRef
impl Unpin for ConversationIdRef
impl UnwindSafe for ConversationIdRef
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
§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
Compare self to
key
and return true
if they are equal.