pub enum ApiKeyState {
Enabled,
Disabled,
Unknown(String),
}Expand description
Inline enum for ApiKey.state.
Variants§
Trait Implementations§
Source§impl Clone for ApiKeyState
impl Clone for ApiKeyState
Source§fn clone(&self) -> ApiKeyState
fn clone(&self) -> ApiKeyState
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 moreSource§impl Debug for ApiKeyState
impl Debug for ApiKeyState
Source§impl Default for ApiKeyState
impl Default for ApiKeyState
Source§fn default() -> ApiKeyState
fn default() -> ApiKeyState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiKeyState
impl<'de> Deserialize<'de> for ApiKeyState
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 ApiKeyState
impl Display for ApiKeyState
Source§impl PartialEq for ApiKeyState
impl PartialEq for ApiKeyState
Source§fn eq(&self, other: &ApiKeyState) -> bool
fn eq(&self, other: &ApiKeyState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiKeyState
impl Serialize for ApiKeyState
impl StructuralPartialEq for ApiKeyState
Auto Trait Implementations§
impl Freeze for ApiKeyState
impl RefUnwindSafe for ApiKeyState
impl Send for ApiKeyState
impl Sync for ApiKeyState
impl Unpin for ApiKeyState
impl UnsafeUnpin for ApiKeyState
impl UnwindSafe for ApiKeyState
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