Struct structured_logger::Key
source · pub struct Key<'k> { /* private fields */ }
Expand description
A key in a structured key-value pair.
Implementations§
Trait Implementations§
source§impl<'k> Ord for Key<'k>
impl<'k> Ord for Key<'k>
source§impl<'k, 'ko> PartialEq<Key<'ko>> for Key<'k>
impl<'k, 'ko> PartialEq<Key<'ko>> for Key<'k>
source§impl<'k, 'ko> PartialOrd<Key<'ko>> for Key<'k>
impl<'k, 'ko> PartialOrd<Key<'ko>> for Key<'k>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> Serialize for Key<'a>
impl<'a> Serialize for Key<'a>
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more