pub struct LogConsoleConfig {
pub enabled: bool,
pub ansi: bool,
}Expand description
控制台输出配置
Fields§
§enabled: bool是否启用(默认启用)
ansi: bool是否使用彩色输出(默认 true)
Trait Implementations§
Source§impl Clone for LogConsoleConfig
impl Clone for LogConsoleConfig
Source§fn clone(&self) -> LogConsoleConfig
fn clone(&self) -> LogConsoleConfig
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 LogConsoleConfig
impl Debug for LogConsoleConfig
Source§impl<'de> Deserialize<'de> for LogConsoleConfig
impl<'de> Deserialize<'de> for LogConsoleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogConsoleConfig
impl RefUnwindSafe for LogConsoleConfig
impl Send for LogConsoleConfig
impl Sync for LogConsoleConfig
impl Unpin for LogConsoleConfig
impl UnwindSafe for LogConsoleConfig
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