pub enum PlainStyle {
Readable,
Raw,
}Expand description
Rendering style for plain (logfmt) output only. JSON and YAML are always structure-preserving and ignore this.
Variants§
Readable
Human-readable AFDATA rendering: strip suffixes and format values.
Raw
Schema-preserving rendering: keep keys and values unchanged after redaction.
Trait Implementations§
Source§impl Clone for PlainStyle
impl Clone for PlainStyle
Source§fn clone(&self) -> PlainStyle
fn clone(&self) -> PlainStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlainStyle
Source§impl Debug for PlainStyle
impl Debug for PlainStyle
Source§impl Default for PlainStyle
impl Default for PlainStyle
Source§fn default() -> PlainStyle
fn default() -> PlainStyle
Returns the “default value” for a type. Read more
impl Eq for PlainStyle
Source§impl PartialEq for PlainStyle
impl PartialEq for PlainStyle
impl StructuralPartialEq for PlainStyle
Auto Trait Implementations§
impl Freeze for PlainStyle
impl RefUnwindSafe for PlainStyle
impl Send for PlainStyle
impl Sync for PlainStyle
impl Unpin for PlainStyle
impl UnsafeUnpin for PlainStyle
impl UnwindSafe for PlainStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.