pub enum Scopes {
Show 15 variants
Star,
ApiKeysColonRead,
ApiKeysColonWrite,
CrawlsColonRead,
CrawlsColonWrite,
EmojisColonRead,
EmojisColonWrite,
PatchNotesColonRead,
PatchNotesColonWrite,
PlayersColonRead,
PlayersColonReadDetails,
PlayersColonWrite,
PunishmentsColonRead,
PunishmentsColonWrite,
StreamColonRead,
}Expand description
The scopes required for the new API key. The API key used to make the request must be authorized to delegate each requested scope.
Variants§
Star
ApiKeysColonRead
ApiKeysColonWrite
CrawlsColonRead
CrawlsColonWrite
EmojisColonRead
EmojisColonWrite
PatchNotesColonRead
PatchNotesColonWrite
PlayersColonRead
PlayersColonReadDetails
PlayersColonWrite
PunishmentsColonRead
PunishmentsColonWrite
StreamColonRead
Trait Implementations§
impl Copy for Scopes
Source§impl<'de> Deserialize<'de> for Scopes
impl<'de> Deserialize<'de> for Scopes
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
impl Eq for Scopes
Source§impl Ord for Scopes
impl Ord for Scopes
1.21.0 (const: unstable) · 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 PartialOrd for Scopes
impl PartialOrd for Scopes
impl StructuralPartialEq for Scopes
Auto Trait Implementations§
impl Freeze for Scopes
impl RefUnwindSafe for Scopes
impl Send for Scopes
impl Sync for Scopes
impl Unpin for Scopes
impl UnsafeUnpin for Scopes
impl UnwindSafe for Scopes
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