pub enum OptionValueKind {
Bool(bool),
Number(f64),
String(String),
}Expand description
An option value as the invoker gave it: a string, number, boolean or id.
Variants§
Trait Implementations§
Source§impl Clone for OptionValueKind
impl Clone for OptionValueKind
Source§fn clone(&self) -> OptionValueKind
fn clone(&self) -> OptionValueKind
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 OptionValueKind
impl Debug for OptionValueKind
Source§impl<'de> Deserialize<'de> for OptionValueKind
impl<'de> Deserialize<'de> for OptionValueKind
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 OptionValueKind
impl PartialEq for OptionValueKind
Source§impl Serialize for OptionValueKind
impl Serialize for OptionValueKind
impl StructuralPartialEq for OptionValueKind
Auto Trait Implementations§
impl Freeze for OptionValueKind
impl RefUnwindSafe for OptionValueKind
impl Send for OptionValueKind
impl Sync for OptionValueKind
impl Unpin for OptionValueKind
impl UnsafeUnpin for OptionValueKind
impl UnwindSafe for OptionValueKind
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