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§
source§impl Clone for AppenderConfig
impl Clone for AppenderConfig
source§fn clone(&self) -> AppenderConfig
fn clone(&self) -> AppenderConfig
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 AppenderConfig
impl Debug for AppenderConfig
source§impl<'de> Deserialize<'de> for AppenderConfig
impl<'de> Deserialize<'de> for AppenderConfig
source§fn 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
source§impl Hash for AppenderConfig
impl Hash for AppenderConfig
source§impl PartialEq for AppenderConfig
impl PartialEq for AppenderConfig
source§fn 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 ==
.impl Eq 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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.