pub enum LogLineFormat {
Plaintext,
Json,
KeyValue,
}Expand description
The practical shape detected for one log line.
Variants§
Plaintext
Plain text or an unrecognized log format.
Json
A valid JSON log line.
KeyValue
A log line containing key=value fields.
Trait Implementations§
Source§impl Clone for LogLineFormat
impl Clone for LogLineFormat
Source§fn clone(&self) -> LogLineFormat
fn clone(&self) -> LogLineFormat
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 moreSource§impl Debug for LogLineFormat
impl Debug for LogLineFormat
Source§impl<'de> Deserialize<'de> for LogLineFormat
impl<'de> Deserialize<'de> for LogLineFormat
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 PartialEq for LogLineFormat
impl PartialEq for LogLineFormat
Source§fn eq(&self, other: &LogLineFormat) -> bool
fn eq(&self, other: &LogLineFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LogLineFormat
impl Serialize for LogLineFormat
impl Eq for LogLineFormat
impl StructuralPartialEq for LogLineFormat
Auto Trait Implementations§
impl Freeze for LogLineFormat
impl RefUnwindSafe for LogLineFormat
impl Send for LogLineFormat
impl Sync for LogLineFormat
impl Unpin for LogLineFormat
impl UnsafeUnpin for LogLineFormat
impl UnwindSafe for LogLineFormat
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