pub struct LogEntry {
pub header: EntryHeader,
pub body: String,
}Expand description
A complete log entry extracted from the line buffer.
Contains the detected header prefix and the full raw text of the entry (header line plus any continuation lines for multi-line payloads).
Fields§
§header: EntryHeaderWhich header prefix introduced this entry.
body: StringThe full raw text of the entry, including the header line and all
continuation lines. Lines are joined with '\n'.
Trait Implementations§
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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