Enum speedrun_api::types::ModeratorRole
source · [−]pub enum ModeratorRole {
Moderator,
SuperModerator,
}Variants
Moderator
SuperModerator
Trait Implementations
sourceimpl Clone for ModeratorRole
impl Clone for ModeratorRole
sourcefn clone(&self) -> ModeratorRole
fn clone(&self) -> ModeratorRole
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ModeratorRole
impl Debug for ModeratorRole
sourceimpl<'de> Deserialize<'de> for ModeratorRole
impl<'de> Deserialize<'de> for ModeratorRole
sourcefn 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
sourceimpl PartialEq<ModeratorRole> for ModeratorRole
impl PartialEq<ModeratorRole> for ModeratorRole
sourcefn eq(&self, other: &ModeratorRole) -> bool
fn eq(&self, other: &ModeratorRole) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for ModeratorRole
Auto Trait Implementations
impl RefUnwindSafe for ModeratorRole
impl Send for ModeratorRole
impl Sync for ModeratorRole
impl Unpin for ModeratorRole
impl UnwindSafe for ModeratorRole
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more