pub struct LogLineStyled {
pub log: Vec<(Option<String>, String)>,
pub index: Vec<(Option<String>, String)>,
pub date: Vec<(Option<String>, String)>,
pub timestamp: Vec<(Option<String>, String)>,
pub app: Vec<(Option<String>, String)>,
pub severity: Vec<(Option<String>, String)>,
pub function: Vec<(Option<String>, String)>,
pub payload: Vec<(Option<String>, String)>,
pub color: Option<(u8, u8, u8)>,
}Expand description
This struct contains a formated log with its info clasified in several fields
Fields§
§log: Vec<(Option<String>, String)>§index: Vec<(Option<String>, String)>§date: Vec<(Option<String>, String)>§timestamp: Vec<(Option<String>, String)>§app: Vec<(Option<String>, String)>§severity: Vec<(Option<String>, String)>§function: Vec<(Option<String>, String)>§payload: Vec<(Option<String>, String)>§color: Option<(u8, u8, u8)>Implementations§
Trait Implementations§
Source§impl Clone for LogLineStyled
impl Clone for LogLineStyled
Source§fn clone(&self) -> LogLineStyled
fn clone(&self) -> LogLineStyled
Returns a duplicate of the value. Read more
1.0.0 · 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 LogLineStyled
impl Debug for LogLineStyled
Source§impl Default for LogLineStyled
impl Default for LogLineStyled
Source§fn default() -> LogLineStyled
fn default() -> LogLineStyled
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogLineStyledwhere
LogLineStyled: Default,
impl<'de> Deserialize<'de> for LogLineStyledwhere
LogLineStyled: Default,
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 LogLineStyled
impl<'a> IntoIterator for &'a LogLineStyled
Source§impl<'a> IntoIterator for &'a mut LogLineStyled
impl<'a> IntoIterator for &'a mut LogLineStyled
Source§impl IntoIterator for LogLineStyled
impl IntoIterator for LogLineStyled
Source§impl Ord for LogLineStyled
impl Ord for LogLineStyled
Source§impl PartialEq for LogLineStyled
impl PartialEq for LogLineStyled
Source§impl PartialOrd for LogLineStyled
impl PartialOrd for LogLineStyled
Source§impl Serialize for LogLineStyled
impl Serialize for LogLineStyled
impl Eq for LogLineStyled
Auto Trait Implementations§
impl Freeze for LogLineStyled
impl RefUnwindSafe for LogLineStyled
impl Send for LogLineStyled
impl Sync for LogLineStyled
impl Unpin for LogLineStyled
impl UnwindSafe for LogLineStyled
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