pub struct TrashInfo {
pub original_path: String,
pub deleted_at: Option<NaiveDateTime>,
}Expand description
Decoded metadata from a single .trashinfo file.
Fields§
§original_path: StringOriginal location of the trashed file, percent-decoded (RFC 2396) and then
UTF-8 decoded lossily. Absolute (/…) or relative to the directory that
holds the trash root. This is the first Path= value.
deleted_at: Option<NaiveDateTime>Deletion timestamp as recorded — naive local time, with no timezone.
None when DeletionDate= is absent or unparseable.
Trait Implementations§
impl Eq for TrashInfo
impl StructuralPartialEq for TrashInfo
Auto Trait Implementations§
impl Freeze for TrashInfo
impl RefUnwindSafe for TrashInfo
impl Send for TrashInfo
impl Sync for TrashInfo
impl Unpin for TrashInfo
impl UnsafeUnpin for TrashInfo
impl UnwindSafe for TrashInfo
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