pub struct LogMetadata {
pub start_line: usize,
pub end_line: usize,
pub timestamp: i64,
pub layer: Layer,
}Expand description
Metadata for a single log entry
Fields§
§start_line: usizeStart line in the file
end_line: usizeEnd line in the file (exclusive)
timestamp: i64Timestamp in milliseconds
layer: LayerLayer of this log
Trait Implementations§
Source§impl Clone for LogMetadata
impl Clone for LogMetadata
Source§fn clone(&self) -> LogMetadata
fn clone(&self) -> LogMetadata
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 moreAuto Trait Implementations§
impl Freeze for LogMetadata
impl RefUnwindSafe for LogMetadata
impl Send for LogMetadata
impl Sync for LogMetadata
impl Unpin for LogMetadata
impl UnwindSafe for LogMetadata
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