Struct log4rs::encode::json::JsonEncoder
source · pub struct JsonEncoder(/* private fields */);
Expand description
An Encode
r which writes a JSON object.
Implementations§
source§impl JsonEncoder
impl JsonEncoder
Trait Implementations§
source§impl Clone for JsonEncoder
impl Clone for JsonEncoder
source§fn clone(&self) -> JsonEncoder
fn clone(&self) -> JsonEncoder
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 JsonEncoder
impl Debug for JsonEncoder
source§impl Default for JsonEncoder
impl Default for JsonEncoder
source§fn default() -> JsonEncoder
fn default() -> JsonEncoder
Returns the “default value” for a type. Read more
source§impl Encode for JsonEncoder
impl Encode for JsonEncoder
source§impl Hash for JsonEncoder
impl Hash for JsonEncoder
source§impl PartialEq for JsonEncoder
impl PartialEq for JsonEncoder
source§fn eq(&self, other: &JsonEncoder) -> bool
fn eq(&self, other: &JsonEncoder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JsonEncoder
impl Eq for JsonEncoder
impl StructuralPartialEq for JsonEncoder
Auto Trait Implementations§
impl RefUnwindSafe for JsonEncoder
impl Send for JsonEncoder
impl Sync for JsonEncoder
impl Unpin for JsonEncoder
impl UnwindSafe for JsonEncoder
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.