pub struct SettingsState {
pub require_confirmation: bool,
pub require_confirmation_for_edits: bool,
pub require_confirmation_for_new_rules: bool,
}Fields§
§require_confirmation: boolGlobal setting to require confirmation for all edits
require_confirmation_for_edits: boolGlobal setting to require confirmation for edit operations specifically
require_confirmation_for_new_rules: boolGlobal setting to require confirmation for new rule creation
Trait Implementations§
Source§impl Clone for SettingsState
impl Clone for SettingsState
Source§fn clone(&self) -> SettingsState
fn clone(&self) -> SettingsState
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 SettingsState
impl Debug for SettingsState
Source§impl Default for SettingsState
impl Default for SettingsState
Source§fn default() -> SettingsState
fn default() -> SettingsState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsState
impl<'de> Deserialize<'de> for SettingsState
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 SettingsState
impl RefUnwindSafe for SettingsState
impl Send for SettingsState
impl Sync for SettingsState
impl Unpin for SettingsState
impl UnsafeUnpin for SettingsState
impl UnwindSafe for SettingsState
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