pub struct GeneralConfig {
pub verbosity: u8,
pub show_progress: bool,
pub use_colors: bool,
pub max_threads: usize,
pub working_dir: Option<PathBuf>,
}
Expand description
General application settings
Fields§
§verbosity: u8
Verbosity level (0-4)
show_progress: bool
Enable progress reporting
use_colors: bool
Enable colored output
max_threads: usize
Maximum number of worker threads (0 = auto-detect)
working_dir: Option<PathBuf>
Working directory override
Trait Implementations§
Source§impl Clone for GeneralConfig
impl Clone for GeneralConfig
Source§fn clone(&self) -> GeneralConfig
fn clone(&self) -> GeneralConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 GeneralConfig
impl Debug for GeneralConfig
Source§impl Default for GeneralConfig
impl Default for GeneralConfig
Source§impl<'de> Deserialize<'de> for GeneralConfig
impl<'de> Deserialize<'de> for GeneralConfig
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 Hash for GeneralConfig
impl Hash for GeneralConfig
Auto Trait Implementations§
impl Freeze for GeneralConfig
impl RefUnwindSafe for GeneralConfig
impl Send for GeneralConfig
impl Sync for GeneralConfig
impl Unpin for GeneralConfig
impl UnwindSafe for GeneralConfig
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