pub struct ConfigToValidate {
pub daemon_timeout_ms: Option<u64>,
pub zstd_level: Option<i32>,
pub ssh_key_path: Option<PathBuf>,
pub mock_ssh: bool,
pub test_mode: bool,
pub circuit_failure_threshold: Option<u32>,
pub circuit_reset_timeout_sec: Option<u64>,
pub log_level: Option<String>,
}Expand description
Configuration values to validate.
Fields§
§daemon_timeout_ms: Option<u64>Daemon socket timeout in milliseconds.
zstd_level: Option<i32>Zstd compression level (1-22).
ssh_key_path: Option<PathBuf>SSH key path.
mock_ssh: boolWhether mock SSH is enabled.
test_mode: boolWhether test mode is enabled.
circuit_failure_threshold: Option<u32>Circuit breaker failure threshold.
circuit_reset_timeout_sec: Option<u64>Circuit breaker reset timeout in seconds.
log_level: Option<String>Log level.
Trait Implementations§
Source§impl Clone for ConfigToValidate
impl Clone for ConfigToValidate
Source§fn clone(&self) -> ConfigToValidate
fn clone(&self) -> ConfigToValidate
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 ConfigToValidate
impl Debug for ConfigToValidate
Source§impl Default for ConfigToValidate
impl Default for ConfigToValidate
Source§fn default() -> ConfigToValidate
fn default() -> ConfigToValidate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigToValidate
impl RefUnwindSafe for ConfigToValidate
impl Send for ConfigToValidate
impl Sync for ConfigToValidate
impl Unpin for ConfigToValidate
impl UnsafeUnpin for ConfigToValidate
impl UnwindSafe for ConfigToValidate
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