Struct collab2::db::ChannelMember
source · pub struct ChannelMember {
pub role: ChannelRole,
pub user_id: UserId,
pub kind: Kind,
}
Fields§
§role: ChannelRole
§user_id: UserId
§kind: Kind
Implementations§
source§impl ChannelMember
impl ChannelMember
Trait Implementations§
source§impl Debug for ChannelMember
impl Debug for ChannelMember
source§impl Hash for ChannelMember
impl Hash for ChannelMember
source§impl PartialEq<ChannelMember> for ChannelMember
impl PartialEq<ChannelMember> for ChannelMember
source§fn eq(&self, other: &ChannelMember) -> bool
fn eq(&self, other: &ChannelMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChannelMember
impl StructuralEq for ChannelMember
impl StructuralPartialEq for ChannelMember
Auto Trait Implementations§
impl RefUnwindSafe for ChannelMember
impl Send for ChannelMember
impl Sync for ChannelMember
impl Unpin for ChannelMember
impl UnwindSafe for ChannelMember
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.