pub struct RoleModerator;Expand description
Moderator role. Can perform most actions.
Trait Implementations§
Source§impl Clone for RoleModerator
impl Clone for RoleModerator
Source§fn clone(&self) -> RoleModerator
fn clone(&self) -> RoleModerator
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 RoleModerator
impl Debug for RoleModerator
Source§impl<'de> Deserialize<'de> for RoleModerator
impl<'de> Deserialize<'de> for RoleModerator
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 Display for RoleModerator
impl Display for RoleModerator
Source§impl Hash for RoleModerator
impl Hash for RoleModerator
Source§impl IntoStatic for RoleModerator
impl IntoStatic for RoleModerator
Source§type Output = RoleModerator
type Output = RoleModerator
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl PartialEq for RoleModerator
impl PartialEq for RoleModerator
Source§impl Serialize for RoleModerator
impl Serialize for RoleModerator
impl Eq for RoleModerator
impl StructuralPartialEq for RoleModerator
Auto Trait Implementations§
impl Freeze for RoleModerator
impl RefUnwindSafe for RoleModerator
impl Send for RoleModerator
impl Sync for RoleModerator
impl Unpin for RoleModerator
impl UnwindSafe for RoleModerator
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.