Struct log4rs::encode::json::JsonEncoderConfig
source · pub struct JsonEncoderConfig { /* private fields */ }
Expand description
The JSON encoder’s configuration
Trait Implementations§
source§impl Clone for JsonEncoderConfig
impl Clone for JsonEncoderConfig
source§fn clone(&self) -> JsonEncoderConfig
fn clone(&self) -> JsonEncoderConfig
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 JsonEncoderConfig
impl Debug for JsonEncoderConfig
source§impl Default for JsonEncoderConfig
impl Default for JsonEncoderConfig
source§fn default() -> JsonEncoderConfig
fn default() -> JsonEncoderConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JsonEncoderConfig
impl<'de> Deserialize<'de> for JsonEncoderConfig
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 Hash for JsonEncoderConfig
impl Hash for JsonEncoderConfig
source§impl PartialEq for JsonEncoderConfig
impl PartialEq for JsonEncoderConfig
source§fn eq(&self, other: &JsonEncoderConfig) -> bool
fn eq(&self, other: &JsonEncoderConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for JsonEncoderConfig
impl StructuralPartialEq for JsonEncoderConfig
Auto Trait Implementations§
impl RefUnwindSafe for JsonEncoderConfig
impl Send for JsonEncoderConfig
impl Sync for JsonEncoderConfig
impl Unpin for JsonEncoderConfig
impl UnwindSafe for JsonEncoderConfig
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.