Enum collab2::db::ChannelRoleVariant
source · pub enum ChannelRoleVariant {
Admin,
Member,
Guest,
Banned,
}
Expand description
Generated by sea-orm-macros
Variants§
Admin
Generated by sea-orm-macros
Member
Generated by sea-orm-macros
Guest
Generated by sea-orm-macros
Banned
Generated by sea-orm-macros
Trait Implementations§
source§impl Clone for ChannelRoleVariant
impl Clone for ChannelRoleVariant
source§fn clone(&self) -> ChannelRoleVariant
fn clone(&self) -> ChannelRoleVariant
Returns a copy 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 ChannelRoleVariant
impl Debug for ChannelRoleVariant
source§impl Iden for ChannelRoleVariant
impl Iden for ChannelRoleVariant
source§impl IntoEnumIterator for ChannelRoleVariant
impl IntoEnumIterator for ChannelRoleVariant
type Iterator = ChannelRoleVariantIter
fn iter() -> ChannelRoleVariantIter ⓘ
source§impl PartialEq<ChannelRoleVariant> for ChannelRoleVariant
impl PartialEq<ChannelRoleVariant> for ChannelRoleVariant
source§fn eq(&self, other: &ChannelRoleVariant) -> bool
fn eq(&self, other: &ChannelRoleVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChannelRoleVariant
impl StructuralEq for ChannelRoleVariant
impl StructuralPartialEq for ChannelRoleVariant
Auto Trait Implementations§
impl RefUnwindSafe for ChannelRoleVariant
impl Send for ChannelRoleVariant
impl Sync for ChannelRoleVariant
impl Unpin for ChannelRoleVariant
impl UnwindSafe for ChannelRoleVariant
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.