pub struct ClickerConfig {
pub profile: String,
pub profiles: HashMap<String, HashMap<String, String>>,
}Expand description
Clicker/remote hardware configuration.
Fields§
§profile: StringName of the active clicker profile (e.g., “default”, “logitech-spotlight”).
profiles: HashMap<String, HashMap<String, String>>Custom profile definitions mapping key names to action names.
Trait Implementations§
Source§impl Clone for ClickerConfig
impl Clone for ClickerConfig
Source§fn clone(&self) -> ClickerConfig
fn clone(&self) -> ClickerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClickerConfig
impl Debug for ClickerConfig
Source§impl Default for ClickerConfig
impl Default for ClickerConfig
Source§impl<'de> Deserialize<'de> for ClickerConfigwhere
ClickerConfig: Default,
impl<'de> Deserialize<'de> for ClickerConfigwhere
ClickerConfig: Default,
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 ClickerConfig
impl RefUnwindSafe for ClickerConfig
impl Send for ClickerConfig
impl Sync for ClickerConfig
impl Unpin for ClickerConfig
impl UnsafeUnpin for ClickerConfig
impl UnwindSafe for ClickerConfig
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