pub enum OptionsSetVfsValue {
Variant0(String),
Variant1(f64),
Variant2(i64),
Variant3(bool),
Variant4(Vec<Value>),
Variant5(Map<String, Value>),
}Expand description
OptionsSetVfsValue
JSON schema
{
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
}Variants§
Variant0(String)
Variant1(f64)
Variant2(i64)
Variant3(bool)
Variant4(Vec<Value>)
Variant5(Map<String, Value>)
Trait Implementations§
Source§impl Clone for OptionsSetVfsValue
impl Clone for OptionsSetVfsValue
Source§fn clone(&self) -> OptionsSetVfsValue
fn clone(&self) -> OptionsSetVfsValue
Returns a duplicate of the value. Read more
1.0.0 · 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 OptionsSetVfsValue
impl Debug for OptionsSetVfsValue
Source§impl<'de> Deserialize<'de> for OptionsSetVfsValue
impl<'de> Deserialize<'de> for OptionsSetVfsValue
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<&OptionsSetVfsValue> for OptionsSetVfsValue
impl From<&OptionsSetVfsValue> for OptionsSetVfsValue
Source§fn from(value: &OptionsSetVfsValue) -> Self
fn from(value: &OptionsSetVfsValue) -> Self
Converts to this type from the input type.
Source§impl From<bool> for OptionsSetVfsValue
impl From<bool> for OptionsSetVfsValue
Source§impl From<f64> for OptionsSetVfsValue
impl From<f64> for OptionsSetVfsValue
Source§impl From<i64> for OptionsSetVfsValue
impl From<i64> for OptionsSetVfsValue
Auto Trait Implementations§
impl Freeze for OptionsSetVfsValue
impl RefUnwindSafe for OptionsSetVfsValue
impl Send for OptionsSetVfsValue
impl Sync for OptionsSetVfsValue
impl Unpin for OptionsSetVfsValue
impl UnwindSafe for OptionsSetVfsValue
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