pub enum ComponentVariant {
SimpleConfig {
enabled: bool,
kv: Option<HashMap<String, String>>,
},
}Expand description
All of the component config variants
Variants§
Trait Implementations§
Source§impl Clone for ComponentVariant
impl Clone for ComponentVariant
Source§fn clone(&self) -> ComponentVariant
fn clone(&self) -> ComponentVariant
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 ComponentVariant
impl Debug for ComponentVariant
Source§impl<'de> Deserialize<'de> for ComponentVariant
impl<'de> Deserialize<'de> for ComponentVariant
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 ComponentVariant
impl PartialEq for ComponentVariant
impl Eq for ComponentVariant
impl StructuralPartialEq for ComponentVariant
Auto Trait Implementations§
impl Freeze for ComponentVariant
impl RefUnwindSafe for ComponentVariant
impl Send for ComponentVariant
impl Sync for ComponentVariant
impl Unpin for ComponentVariant
impl UnwindSafe for ComponentVariant
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