Struct log4rs::append::AppenderConfig
source · [−]pub struct AppenderConfig {
pub kind: String,
pub filters: Vec<FilterConfig>,
pub config: Value,
}
Expand description
Configuration for an appender.
Fields
kind: String
The appender kind.
filters: Vec<FilterConfig>
The filters attached to the appender.
config: Value
The appender configuration.
Trait Implementations
sourceimpl Debug for AppenderConfig
impl Debug for AppenderConfig
sourceimpl<'de> Deserialize<'de> for AppenderConfig
impl<'de> Deserialize<'de> for AppenderConfig
sourcefn deserialize<D>(d: D) -> Result<AppenderConfig, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<AppenderConfig, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AppenderConfig> for AppenderConfig
impl PartialEq<AppenderConfig> for AppenderConfig
sourcefn eq(&self, other: &AppenderConfig) -> bool
fn eq(&self, other: &AppenderConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppenderConfig) -> bool
fn ne(&self, other: &AppenderConfig) -> bool
This method tests for !=
.
impl Eq for AppenderConfig
impl StructuralEq for AppenderConfig
impl StructuralPartialEq for AppenderConfig
Auto Trait Implementations
impl RefUnwindSafe for AppenderConfig
impl Send for AppenderConfig
impl Sync for AppenderConfig
impl Unpin for AppenderConfig
impl UnwindSafe for AppenderConfig
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.