pub struct TrashEntry {
pub root_inode_id: InodeId,
pub deleted_at_seq: ChangeSeq,
pub deleted_at_ms: u64,
pub parent_inode_id: Option<InodeId>,
pub name_key: Option<NameKey>,
pub display_name: Option<DisplayName>,
}Expand description
One recoverable deletion: an active subtree tombstone plus the identity
of the binding it deleted, when the delete recorded one. Entries with no
recorded name predate the enriched tombstone rows; their inode and
sequence still form a complete undelete handle.
Fields§
§root_inode_id: InodeIdRoot inode the deletion hid; half of the recovery handle.
deleted_at_seq: ChangeSeqCommit sequence of the deletion; the other half of the handle.
deleted_at_ms: u64Wall-clock stamp of the deleting commit. Observational.
parent_inode_id: Option<InodeId>Directory that held the deleted binding, when recorded.
name_key: Option<NameKey>Canonical key of the deleted binding, when recorded.
display_name: Option<DisplayName>User-facing spelling of the deleted binding, when recorded.
Trait Implementations§
Source§impl Clone for TrashEntry
impl Clone for TrashEntry
Source§fn clone(&self) -> TrashEntry
fn clone(&self) -> TrashEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrashEntry
impl Debug for TrashEntry
Source§impl<'de> Deserialize<'de> for TrashEntry
impl<'de> Deserialize<'de> for TrashEntry
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
impl Eq for TrashEntry
Source§impl PartialEq for TrashEntry
impl PartialEq for TrashEntry
Source§impl Serialize for TrashEntry
impl Serialize for TrashEntry
impl StructuralPartialEq for TrashEntry
Auto Trait Implementations§
impl Freeze for TrashEntry
impl RefUnwindSafe for TrashEntry
impl Send for TrashEntry
impl Sync for TrashEntry
impl Unpin for TrashEntry
impl UnsafeUnpin for TrashEntry
impl UnwindSafe for TrashEntry
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