pub struct LogLine {
pub log: String,
pub index: String,
pub date: String,
pub timestamp: String,
pub app: String,
pub severity: String,
pub function: String,
pub payload: String,
pub color: Option<(u8, u8, u8)>,
}Expand description
This struct contains a formated log with its info clasified in several fields
Fields§
§log: String§index: String§date: String§timestamp: String§app: String§severity: String§function: String§payload: String§color: Option<(u8, u8, u8)>Implementations§
Source§impl LogLine
impl LogLine
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogLine
impl<'de> Deserialize<'de> for LogLine
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<'a> IntoIterator for &'a LogLine
impl<'a> IntoIterator for &'a LogLine
Source§impl<'a> IntoIterator for &'a mut LogLine
impl<'a> IntoIterator for &'a mut LogLine
Source§impl IntoIterator for LogLine
impl IntoIterator for LogLine
Source§impl Ord for LogLine
impl Ord for LogLine
Source§impl PartialOrd for LogLine
impl PartialOrd for LogLine
impl Eq for LogLine
Auto Trait Implementations§
impl Freeze for LogLine
impl RefUnwindSafe for LogLine
impl Send for LogLine
impl Sync for LogLine
impl Unpin for LogLine
impl UnwindSafe for LogLine
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