pub enum LoggingFormat {
Json,
Pretty,
}Expand description
Structured logging output format.
Variants§
Trait Implementations§
Source§impl Clone for LoggingFormat
impl Clone for LoggingFormat
Source§fn clone(&self) -> LoggingFormat
fn clone(&self) -> LoggingFormat
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 LoggingFormat
Source§impl Debug for LoggingFormat
impl Debug for LoggingFormat
impl Eq for LoggingFormat
Source§impl PartialEq for LoggingFormat
impl PartialEq for LoggingFormat
Source§fn eq(&self, other: &LoggingFormat) -> bool
fn eq(&self, other: &LoggingFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoggingFormat
Auto Trait Implementations§
impl Freeze for LoggingFormat
impl RefUnwindSafe for LoggingFormat
impl Send for LoggingFormat
impl Sync for LoggingFormat
impl Unpin for LoggingFormat
impl UnsafeUnpin for LoggingFormat
impl UnwindSafe for LoggingFormat
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