pub struct LevelColors {
pub error: String,
pub warn: String,
pub info: String,
pub debug: String,
pub trace: String,
}Expand description
日志级别颜色映射
Fields§
§error: String§warn: String§info: String§debug: String§trace: StringTrait Implementations§
Source§impl Clone for LevelColors
impl Clone for LevelColors
Source§fn clone(&self) -> LevelColors
fn clone(&self) -> LevelColors
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 LevelColors
impl Debug for LevelColors
Auto Trait Implementations§
impl Freeze for LevelColors
impl RefUnwindSafe for LevelColors
impl Send for LevelColors
impl Sync for LevelColors
impl Unpin for LevelColors
impl UnsafeUnpin for LevelColors
impl UnwindSafe for LevelColors
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