Struct log4rs::encode::EncoderConfig
source · pub struct EncoderConfig {
pub kind: String,
pub config: Value,
}
Expand description
Configuration for an encoder.
Fields§
§kind: String
The encoder’s kind.
config: Value
The encoder’s configuration.
Trait Implementations§
source§impl Clone for EncoderConfig
impl Clone for EncoderConfig
source§fn clone(&self) -> EncoderConfig
fn clone(&self) -> EncoderConfig
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 EncoderConfig
impl Debug for EncoderConfig
source§impl<'de> Deserialize<'de> for EncoderConfig
impl<'de> Deserialize<'de> for EncoderConfig
source§fn deserialize<D>(d: D) -> Result<EncoderConfig, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<EncoderConfig, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EncoderConfig
impl Hash for EncoderConfig
source§impl PartialEq for EncoderConfig
impl PartialEq for EncoderConfig
source§fn eq(&self, other: &EncoderConfig) -> bool
fn eq(&self, other: &EncoderConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderConfig
impl StructuralPartialEq for EncoderConfig
Auto Trait Implementations§
impl RefUnwindSafe for EncoderConfig
impl Send for EncoderConfig
impl Sync for EncoderConfig
impl Unpin for EncoderConfig
impl UnwindSafe for EncoderConfig
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.