pub enum OptionValueType {
Bool,
Integer,
Float,
String,
Map,
List,
}Expand description
Kind of value stored in OptionValue.
Variants§
Bool
A boolean value.
Integer
A 64-bit signed integer.
Float
A 64-bit floating-point number.
String
A string value.
Map
A nested option map.
List
A list of values.
Trait Implementations§
Source§impl Clone for OptionValueType
impl Clone for OptionValueType
Source§fn clone(&self) -> OptionValueType
fn clone(&self) -> OptionValueType
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 moreimpl Copy for OptionValueType
Source§impl Debug for OptionValueType
impl Debug for OptionValueType
Source§impl Display for OptionValueType
impl Display for OptionValueType
impl Eq for OptionValueType
Source§impl Hash for OptionValueType
impl Hash for OptionValueType
Source§impl PartialEq for OptionValueType
impl PartialEq for OptionValueType
impl StructuralPartialEq for OptionValueType
Auto Trait Implementations§
impl Freeze for OptionValueType
impl RefUnwindSafe for OptionValueType
impl Send for OptionValueType
impl Sync for OptionValueType
impl Unpin for OptionValueType
impl UnsafeUnpin for OptionValueType
impl UnwindSafe for OptionValueType
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