pub struct GlobalSettings {
pub log_level: String,
pub verbose: bool,
pub dry_run: bool,
}Expand description
Global application settings.
Fields§
§log_level: StringLog level.
verbose: boolWhether to enable verbose logging.
dry_run: boolWhether to run in dry mode globally.
Trait Implementations§
Source§impl Clone for GlobalSettings
impl Clone for GlobalSettings
Source§impl Debug for GlobalSettings
impl Debug for GlobalSettings
Source§impl Default for GlobalSettings
impl Default for GlobalSettings
Source§impl<'de> Deserialize<'de> for GlobalSettings
impl<'de> Deserialize<'de> for GlobalSettings
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 Forget for GlobalSettings
impl Freeze for GlobalSettings
impl Move for GlobalSettings
impl RefUnwindSafe for GlobalSettings
impl Send for GlobalSettings
impl Sync for GlobalSettings
impl Unpin for GlobalSettings
impl UnsafeUnpin for GlobalSettings
impl UnwindSafe for GlobalSettings
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