pub struct ChannelCompositeKey {
pub channel: ChannelId,
pub user: UserId,
}Fields§
§channel: ChannelId§user: UserIdTrait Implementations§
Source§impl Clone for ChannelCompositeKey
impl Clone for ChannelCompositeKey
Source§fn clone(&self) -> ChannelCompositeKey
fn clone(&self) -> ChannelCompositeKey
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 ChannelCompositeKey
impl Debug for ChannelCompositeKey
Source§impl<'de> Deserialize<'de> for ChannelCompositeKey
impl<'de> Deserialize<'de> for ChannelCompositeKey
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 Hash for ChannelCompositeKey
impl Hash for ChannelCompositeKey
Source§impl Ord for ChannelCompositeKey
impl Ord for ChannelCompositeKey
Source§fn cmp(&self, other: &ChannelCompositeKey) -> Ordering
fn cmp(&self, other: &ChannelCompositeKey) -> 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 ChannelCompositeKey
impl PartialEq for ChannelCompositeKey
Source§impl PartialOrd for ChannelCompositeKey
impl PartialOrd for ChannelCompositeKey
Source§impl Serialize for ChannelCompositeKey
impl Serialize for ChannelCompositeKey
impl Eq for ChannelCompositeKey
impl StructuralPartialEq for ChannelCompositeKey
Auto Trait Implementations§
impl Freeze for ChannelCompositeKey
impl RefUnwindSafe for ChannelCompositeKey
impl Send for ChannelCompositeKey
impl Sync for ChannelCompositeKey
impl Unpin for ChannelCompositeKey
impl UnwindSafe for ChannelCompositeKey
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