pub enum ConfigInput {
String(String),
Integer(i64),
Float(f64),
Boolean(bool),
DateTime(String),
Duration(Duration),
Date(String),
Time(String),
Array(Vec<ConfigInput>),
Object {
tname: String,
values: HashMap<String, ConfigInput>,
},
Null,
}Variants§
String(String)
Integer(i64)
Float(f64)
Boolean(bool)
DateTime(String)
Duration(Duration)
Date(String)
Time(String)
Array(Vec<ConfigInput>)
Object
Null
Trait Implementations§
Source§impl Clone for ConfigInput
impl Clone for ConfigInput
Source§impl Debug for ConfigInput
impl Debug for ConfigInput
Source§impl<'de> Deserialize<'de> for ConfigInput
impl<'de> Deserialize<'de> for ConfigInput
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
Auto Trait Implementations§
impl Freeze for ConfigInput
impl RefUnwindSafe for ConfigInput
impl Send for ConfigInput
impl Sync for ConfigInput
impl Unpin for ConfigInput
impl UnsafeUnpin for ConfigInput
impl UnwindSafe for ConfigInput
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