Struct log4rs::filter::FilterConfig
source · [−]Expand description
Configuration for a filter.
Fields
kind: String
The filter kind.
config: Value
The filter configuration.
Trait Implementations
sourceimpl Debug for FilterConfig
impl Debug for FilterConfig
sourceimpl<'de> Deserialize<'de> for FilterConfig
impl<'de> Deserialize<'de> for FilterConfig
sourcefn deserialize<D>(d: D) -> Result<FilterConfig, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<FilterConfig, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FilterConfig> for FilterConfig
impl PartialEq<FilterConfig> for FilterConfig
sourcefn eq(&self, other: &FilterConfig) -> bool
fn eq(&self, other: &FilterConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FilterConfig) -> bool
fn ne(&self, other: &FilterConfig) -> bool
This method tests for !=
.
impl Eq for FilterConfig
impl StructuralEq for FilterConfig
impl StructuralPartialEq for FilterConfig
Auto Trait Implementations
impl RefUnwindSafe for FilterConfig
impl Send for FilterConfig
impl Sync for FilterConfig
impl Unpin for FilterConfig
impl UnwindSafe for FilterConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.