pub struct ParseResult {
pub entries: Vec<LogEntry>,
pub format_detected: LogFormat,
pub parser_selection: ParserSelectionInfo,
pub total_lines: u32,
pub parse_errors: u32,
pub file_path: String,
pub file_size: u64,
pub byte_offset: u64,
}Expand description
Result of parsing a complete log file.
Fields§
§entries: Vec<LogEntry>§format_detected: LogFormat§parser_selection: ParserSelectionInfo§total_lines: u32§parse_errors: u32§file_path: String§file_size: u64§byte_offset: u64Byte offset where parsing ended — used as the starting point for tailing
Trait Implementations§
Source§impl Clone for ParseResult
impl Clone for ParseResult
Source§impl Debug for ParseResult
impl Debug for ParseResult
Source§impl<'de> Deserialize<'de> for ParseResult
impl<'de> Deserialize<'de> for ParseResult
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
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
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