pub struct Config {
pub interval_to_check: u64,
pub search_pattern: String,
pub logfile: String,
pub max_critical_matches: u64,
pub max_warning_matches: u64,
pub date_pattern: String,
pub timeposition: usize,
pub debug: bool,
pub verbose: bool,
pub re: Regex,
}
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more