pub enum OptionsInfoOptionValue {
Variant0(Vec<String>),
Variant1(bool),
Variant2(f64),
Variant3(String),
Variant4 {
valid: bool,
value: bool,
},
}Expand description
OptionsInfoOptionValue
JSON schema
{
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "object",
"required": [
"Valid",
"Value"
],
"properties": {
"Valid": {
"type": "boolean"
},
"Value": {
"type": "boolean"
}
},
"additionalProperties": false
}
]
}Variants§
Trait Implementations§
Source§impl Clone for OptionsInfoOptionValue
impl Clone for OptionsInfoOptionValue
Source§fn clone(&self) -> OptionsInfoOptionValue
fn clone(&self) -> OptionsInfoOptionValue
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 OptionsInfoOptionValue
impl Debug for OptionsInfoOptionValue
Source§impl<'de> Deserialize<'de> for OptionsInfoOptionValue
impl<'de> Deserialize<'de> for OptionsInfoOptionValue
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 From<&OptionsInfoOptionValue> for OptionsInfoOptionValue
impl From<&OptionsInfoOptionValue> for OptionsInfoOptionValue
Source§fn from(value: &OptionsInfoOptionValue) -> Self
fn from(value: &OptionsInfoOptionValue) -> Self
Converts to this type from the input type.
Source§impl From<bool> for OptionsInfoOptionValue
impl From<bool> for OptionsInfoOptionValue
Source§impl From<f64> for OptionsInfoOptionValue
impl From<f64> for OptionsInfoOptionValue
Auto Trait Implementations§
impl Freeze for OptionsInfoOptionValue
impl RefUnwindSafe for OptionsInfoOptionValue
impl Send for OptionsInfoOptionValue
impl Sync for OptionsInfoOptionValue
impl Unpin for OptionsInfoOptionValue
impl UnsafeUnpin for OptionsInfoOptionValue
impl UnwindSafe for OptionsInfoOptionValue
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