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