pub struct LogPath {
pub path: PathBuf,
pub timestamp: NaiveDateTime,
pub part: u8,
}Expand description
Path with the timestamp and part number parsed so that the paths can be ordered.
Fields§
§path: PathBuf§timestamp: NaiveDateTime§part: u8Trait Implementations§
impl Eq for LogPath
Source§impl Ord for LogPath
impl Ord for LogPath
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
impl Freeze for LogPath
impl RefUnwindSafe for LogPath
impl Send for LogPath
impl Sync for LogPath
impl Unpin for LogPath
impl UnsafeUnpin for LogPath
impl UnwindSafe for LogPath
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