#[non_exhaustive]pub enum OperationOptionKind {
String,
Boolean,
Integer,
Float,
Enum,
Dictionary,
Array,
Other(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for OperationOptionKind
impl Clone for OperationOptionKind
Source§fn clone(&self) -> OperationOptionKind
fn clone(&self) -> OperationOptionKind
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 OperationOptionKind
impl Debug for OperationOptionKind
Source§impl<'de> Deserialize<'de> for OperationOptionKind
impl<'de> Deserialize<'de> for OperationOptionKind
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 PartialEq for OperationOptionKind
impl PartialEq for OperationOptionKind
Source§fn eq(&self, other: &OperationOptionKind) -> bool
fn eq(&self, other: &OperationOptionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OperationOptionKind
impl Serialize for OperationOptionKind
impl Eq for OperationOptionKind
impl StructuralPartialEq for OperationOptionKind
Auto Trait Implementations§
impl Freeze for OperationOptionKind
impl RefUnwindSafe for OperationOptionKind
impl Send for OperationOptionKind
impl Sync for OperationOptionKind
impl Unpin for OperationOptionKind
impl UnsafeUnpin for OperationOptionKind
impl UnwindSafe for OperationOptionKind
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