pub struct TrashEntry {
pub inode_id: InodeId,
pub deletion_seq: ChangeSeq,
pub deleted_at_ms: u64,
pub deleted_by: ActorRef,
pub deleted_binding: Option<DirectoryBinding>,
}Expand description
One deletion that can still be restored.
inode_id and deletion_seq are sufficient to restore it. The removed
directory binding is included when available.
Fields§
§inode_id: InodeIdInode hidden by the deletion.
deletion_seq: ChangeSeqCommit sequence that identifies this deletion.
deleted_at_ms: u64Time of the deletion, in Unix milliseconds.
deleted_by: ActorRefActor responsible for the deletion.
deleted_binding: Option<DirectoryBinding>Directory binding removed by the deletion, when available.
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