pub enum DriverConfig {
Bool(bool),
String(String),
Int(i64),
Float(f64),
Vector(Vec<DriverConfig>),
Map(HashMap<String, DriverConfig>),
}Expand description
A map of key-value configuration passed into the driver to start the task. The details of configurations are specific to each driver.
Variants§
Bool(bool)
A boolean value.
String(String)
A string value.
Int(i64)
An integer value.
Float(f64)
A float value.
Vector(Vec<DriverConfig>)
An array/vector value.
Map(HashMap<String, DriverConfig>)
A map value to represent arbitrarily nested key-values.
Trait Implementations§
Source§impl Clone for DriverConfig
impl Clone for DriverConfig
Source§fn clone(&self) -> DriverConfig
fn clone(&self) -> DriverConfig
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 DriverConfig
impl Debug for DriverConfig
Source§impl Default for DriverConfig
impl Default for DriverConfig
Source§impl<'de> Deserialize<'de> for DriverConfig
impl<'de> Deserialize<'de> for DriverConfig
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 PartialEq for DriverConfig
impl PartialEq for DriverConfig
Source§impl Serialize for DriverConfig
impl Serialize for DriverConfig
impl StructuralPartialEq for DriverConfig
Auto Trait Implementations§
impl Freeze for DriverConfig
impl RefUnwindSafe for DriverConfig
impl Send for DriverConfig
impl Sync for DriverConfig
impl Unpin for DriverConfig
impl UnwindSafe for DriverConfig
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