pub struct ExtraLoggerConfig {
pub filter: String,
}
Expand description
The configuration of an extra CKB logger.
This struct is used to build ExtraLogger
.
Fields§
§filter: String
A string which is used to build env_logger::Filter for the extra logger.
Trait Implementations§
Source§impl Clone for ExtraLoggerConfig
impl Clone for ExtraLoggerConfig
Source§fn clone(&self) -> ExtraLoggerConfig
fn clone(&self) -> ExtraLoggerConfig
Returns a copy 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 ExtraLoggerConfig
impl Debug for ExtraLoggerConfig
Source§impl<'de> Deserialize<'de> for ExtraLoggerConfig
impl<'de> Deserialize<'de> for ExtraLoggerConfig
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
Source§impl PartialEq for ExtraLoggerConfig
impl PartialEq for ExtraLoggerConfig
Source§impl Serialize for ExtraLoggerConfig
impl Serialize for ExtraLoggerConfig
impl Eq for ExtraLoggerConfig
impl StructuralPartialEq for ExtraLoggerConfig
Auto Trait Implementations§
impl Freeze for ExtraLoggerConfig
impl RefUnwindSafe for ExtraLoggerConfig
impl Send for ExtraLoggerConfig
impl Sync for ExtraLoggerConfig
impl Unpin for ExtraLoggerConfig
impl UnwindSafe for ExtraLoggerConfig
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