#[non_exhaustive]pub enum ConfigValue {
Bool(bool),
Integer(i64),
Text(String),
}Expand description
A parameter’s value (#125).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ConfigValue
impl Clone for ConfigValue
Source§impl Debug for ConfigValue
impl Debug for ConfigValue
Source§impl Display for ConfigValue
impl Display for ConfigValue
impl Eq for ConfigValue
Source§impl From<&str> for ConfigValue
impl From<&str> for ConfigValue
Source§impl From<String> for ConfigValue
impl From<String> for ConfigValue
Source§impl From<bool> for ConfigValue
impl From<bool> for ConfigValue
Source§impl From<i64> for ConfigValue
impl From<i64> for ConfigValue
Source§impl PartialEq for ConfigValue
impl PartialEq for ConfigValue
impl StructuralPartialEq for ConfigValue
Auto Trait Implementations§
impl Freeze for ConfigValue
impl RefUnwindSafe for ConfigValue
impl Send for ConfigValue
impl Sync for ConfigValue
impl Unpin for ConfigValue
impl UnsafeUnpin for ConfigValue
impl UnwindSafe for ConfigValue
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