pub struct LogParameters {
pub log_timestamps: bool,
pub log_colors: bool,
pub clock: fn() -> DateTime<Local>,
}
Fields§
§log_timestamps: bool
§log_colors: bool
§clock: fn() -> DateTime<Local>
Trait Implementations§
Source§impl Clone for LogParameters
impl Clone for LogParameters
Source§fn clone(&self) -> LogParameters
fn clone(&self) -> LogParameters
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 LogParameters
impl Debug for LogParameters
Auto Trait Implementations§
impl Freeze for LogParameters
impl RefUnwindSafe for LogParameters
impl Send for LogParameters
impl Sync for LogParameters
impl Unpin for LogParameters
impl UnwindSafe for LogParameters
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