pub struct CliOptions {
pub colors: Option<ColorsArg>,
pub log_level: LoggingLevel,
pub log_kind: LoggingKind,
}Fields§
§colors: Option<ColorsArg>Set the formatting mode for markup: “off” prints everything as plain text, “force” forces the formatting of markup using ANSI even if the console output is determined to be incompatible
log_level: LoggingLevelThe level of logging. In order, from the most verbose to the least verbose: debug, info, warn, error.
The value none won’t show any logging.
log_kind: LoggingKindHow the log should look like.
Trait Implementations§
Source§impl Clone for CliOptions
impl Clone for CliOptions
Source§fn clone(&self) -> CliOptions
fn clone(&self) -> CliOptions
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 moreAuto Trait Implementations§
impl Freeze for CliOptions
impl RefUnwindSafe for CliOptions
impl Send for CliOptions
impl Sync for CliOptions
impl Unpin for CliOptions
impl UnwindSafe for CliOptions
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