pub struct ParsedLine<'a> {
pub timestamp: SystemTime,
pub level: ParsedLevel,
pub logger: &'a str,
pub module_id: &'a str,
pub bound: Option<&'a str>,
pub body: &'a str,
}Expand description
The fields needed to merge and filter a fleet log line.
Fields§
§timestamp: SystemTimeEvent time decoded from the UTC timestamp.
level: ParsedLevelEvent severity.
logger: &'a strThe full dotted logger name, rooted at the module id.
module_id: &'a strThe module id: the logger’s first segment.
bound: Option<&'a str>The raw text inside the bound bracket, absent when there was none.
body: &'a strThe message and ordered event fields after the bracket.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ParsedLine<'a>
impl<'a> Clone for ParsedLine<'a>
Source§impl<'a> Debug for ParsedLine<'a>
impl<'a> Debug for ParsedLine<'a>
impl<'a> Eq for ParsedLine<'a>
Source§impl<'a> PartialEq for ParsedLine<'a>
impl<'a> PartialEq for ParsedLine<'a>
impl<'a> StructuralPartialEq for ParsedLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParsedLine<'a>
impl<'a> RefUnwindSafe for ParsedLine<'a>
impl<'a> Send for ParsedLine<'a>
impl<'a> Sync for ParsedLine<'a>
impl<'a> Unpin for ParsedLine<'a>
impl<'a> UnsafeUnpin for ParsedLine<'a>
impl<'a> UnwindSafe for ParsedLine<'a>
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