pub struct GuardConfig {
pub enabled: bool,
pub trigger: GuardTrigger,
pub timing: GuardTiming,
pub selection: GuardSelection,
pub notify: bool,
}Expand description
Configuration for the rlm-guard freeze-guard daemon. Every field defaults,
so a missing guard: section (or any missing key) yields a working setup.
Fields§
§enabled: bool§trigger: GuardTrigger§timing: GuardTiming§selection: GuardSelection§notify: boolImplementations§
Source§impl GuardConfig
impl GuardConfig
Trait Implementations§
Source§impl Clone for GuardConfig
impl Clone for GuardConfig
Source§impl Debug for GuardConfig
impl Debug for GuardConfig
Source§impl Default for GuardConfig
impl Default for GuardConfig
Source§impl<'de> Deserialize<'de> for GuardConfigwhere
GuardConfig: Default,
impl<'de> Deserialize<'de> for GuardConfigwhere
GuardConfig: 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
Source§impl PartialEq for GuardConfig
impl PartialEq for GuardConfig
Source§impl Serialize for GuardConfig
impl Serialize for GuardConfig
impl StructuralPartialEq for GuardConfig
Auto Trait Implementations§
impl Freeze for GuardConfig
impl RefUnwindSafe for GuardConfig
impl Send for GuardConfig
impl Sync for GuardConfig
impl Unpin for GuardConfig
impl UnsafeUnpin for GuardConfig
impl UnwindSafe for GuardConfig
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