pub enum ApiKeyScope {
Show 15 variants
Star,
ApiKeysColonRead,
ApiKeysColonWrite,
CrawlsColonRead,
CrawlsColonWrite,
EmojisColonRead,
EmojisColonWrite,
PatchNotesColonRead,
PatchNotesColonWrite,
PlayersColonRead,
PlayersColonReadDetails,
PlayersColonWrite,
PunishmentsColonRead,
PunishmentsColonWrite,
StreamColonRead,
}Expand description
ApiKeyScope : A permission granted to an API key. The * scope grants every permission. The players:read-details scope grants the access available with players:read and also permits access to linked Discord user IDs.
A permission granted to an API key. The * scope grants every permission. The players:read-details scope grants the access available with players:read and also permits access to linked Discord user IDs.
Variants§
Star
ApiKeysColonRead
ApiKeysColonWrite
CrawlsColonRead
CrawlsColonWrite
EmojisColonRead
EmojisColonWrite
PatchNotesColonRead
PatchNotesColonWrite
PlayersColonRead
PlayersColonReadDetails
PlayersColonWrite
PunishmentsColonRead
PunishmentsColonWrite
StreamColonRead
Trait Implementations§
Source§impl Clone for ApiKeyScope
impl Clone for ApiKeyScope
Source§fn clone(&self) -> ApiKeyScope
fn clone(&self) -> ApiKeyScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ApiKeyScope
Source§impl Debug for ApiKeyScope
impl Debug for ApiKeyScope
Source§impl Default for ApiKeyScope
impl Default for ApiKeyScope
Source§fn default() -> ApiKeyScope
fn default() -> ApiKeyScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiKeyScope
impl<'de> Deserialize<'de> for ApiKeyScope
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 ApiKeyScope
impl Display for ApiKeyScope
impl Eq for ApiKeyScope
Source§impl Hash for ApiKeyScope
impl Hash for ApiKeyScope
Source§impl Ord for ApiKeyScope
impl Ord for ApiKeyScope
Source§fn cmp(&self, other: &ApiKeyScope) -> Ordering
fn cmp(&self, other: &ApiKeyScope) -> Ordering
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 PartialEq for ApiKeyScope
impl PartialEq for ApiKeyScope
Source§impl PartialOrd for ApiKeyScope
impl PartialOrd for ApiKeyScope
Source§impl Serialize for ApiKeyScope
impl Serialize for ApiKeyScope
impl StructuralPartialEq for ApiKeyScope
Auto Trait Implementations§
impl Freeze for ApiKeyScope
impl RefUnwindSafe for ApiKeyScope
impl Send for ApiKeyScope
impl Sync for ApiKeyScope
impl Unpin for ApiKeyScope
impl UnsafeUnpin for ApiKeyScope
impl UnwindSafe for ApiKeyScope
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