pub struct GlobalSettings {
pub data_dir: Option<PathBuf>,
pub temp_dir: Option<PathBuf>,
pub log_level: LogLevel,
pub log_retention_days: u32,
pub max_concurrent_tasks: usize,
pub default_retry_policy: RetryPolicy,
pub enable_telemetry: bool,
pub auto_update_check: bool,
pub ui_language: String,
}Fields§
§data_dir: Option<PathBuf>§temp_dir: Option<PathBuf>§log_level: LogLevel§log_retention_days: u32§max_concurrent_tasks: usize§default_retry_policy: RetryPolicy§enable_telemetry: bool§auto_update_check: bool§ui_language: StringTrait Implementations§
Source§impl Clone for GlobalSettings
impl Clone for GlobalSettings
Source§fn clone(&self) -> GlobalSettings
fn clone(&self) -> GlobalSettings
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 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 Freeze for GlobalSettings
impl RefUnwindSafe for GlobalSettings
impl Send for GlobalSettings
impl Sync for GlobalSettings
impl Unpin 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