pub struct Options {
pub name: String,
pub time_unit: TimeUnit,
pub colors: bool,
pub log_level: LogType,
}Expand description
A struct that stores the core data of a logger
You may use the default configuration or make
your own with the homemade function depending
on your needs
Fields§
§name: String§time_unit: TimeUnit§colors: bool§log_level: LogTypeImplementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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