pub struct SimpleConfig {
pub enabled: bool,
pub kv: Option<HashMap<String, String>>,
}Fields§
§enabled: bool§kv: Option<HashMap<String, String>>Implementations§
Source§impl SimpleConfig
impl SimpleConfig
pub fn from(v: &ComponentVariant) -> Self
Trait Implementations§
Source§impl Debug for SimpleConfig
impl Debug for SimpleConfig
Source§impl Default for SimpleConfig
impl Default for SimpleConfig
Source§fn default() -> SimpleConfig
fn default() -> SimpleConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimpleConfig
impl RefUnwindSafe for SimpleConfig
impl Send for SimpleConfig
impl Sync for SimpleConfig
impl Unpin for SimpleConfig
impl UnwindSafe for SimpleConfig
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