pub enum OptionsSetNfsValue {
Variant0(String),
Variant1(f64),
Variant2(i64),
Variant3(bool),
Variant4(Vec<Value>),
Variant5(Map<String, Value>),
}Expand description
OptionsSetNfsValue
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 OptionsSetNfsValue
impl Clone for OptionsSetNfsValue
Source§fn clone(&self) -> OptionsSetNfsValue
fn clone(&self) -> OptionsSetNfsValue
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 OptionsSetNfsValue
impl Debug for OptionsSetNfsValue
Source§impl<'de> Deserialize<'de> for OptionsSetNfsValue
impl<'de> Deserialize<'de> for OptionsSetNfsValue
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<&OptionsSetNfsValue> for OptionsSetNfsValue
impl From<&OptionsSetNfsValue> for OptionsSetNfsValue
Source§fn from(value: &OptionsSetNfsValue) -> Self
fn from(value: &OptionsSetNfsValue) -> Self
Converts to this type from the input type.
Source§impl From<bool> for OptionsSetNfsValue
impl From<bool> for OptionsSetNfsValue
Source§impl From<f64> for OptionsSetNfsValue
impl From<f64> for OptionsSetNfsValue
Source§impl From<i64> for OptionsSetNfsValue
impl From<i64> for OptionsSetNfsValue
Auto Trait Implementations§
impl Freeze for OptionsSetNfsValue
impl RefUnwindSafe for OptionsSetNfsValue
impl Send for OptionsSetNfsValue
impl Sync for OptionsSetNfsValue
impl Unpin for OptionsSetNfsValue
impl UnwindSafe for OptionsSetNfsValue
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