pub struct DetectorSettings {
pub detectors: HashMap<String, bool>,
pub hid_safe_mode: bool,
pub initial_detection_delay_ms: usize,
}Expand description
Detection related settings
Fields§
§detectors: HashMap<String, bool>Map of Detector name -> detection on/off
hid_safe_mode: boolHID safe mode
initial_detection_delay_ms: usizeNumber of milliseconds to wait before detecting devices when started
Trait Implementations§
Source§impl Debug for DetectorSettings
impl Debug for DetectorSettings
Source§impl<'de> Deserialize<'de> for DetectorSettings
impl<'de> Deserialize<'de> for DetectorSettings
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
impl Eq for DetectorSettings
Source§impl PartialEq for DetectorSettings
impl PartialEq for DetectorSettings
Source§impl Serialize for DetectorSettings
impl Serialize for DetectorSettings
impl StructuralPartialEq for DetectorSettings
Auto Trait Implementations§
impl Freeze for DetectorSettings
impl RefUnwindSafe for DetectorSettings
impl Send for DetectorSettings
impl Sync for DetectorSettings
impl Unpin for DetectorSettings
impl UnsafeUnpin for DetectorSettings
impl UnwindSafe for DetectorSettings
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