pub struct DeleteFileResult {
pub file_ids: Vec<Box<str>>,
pub files_deleted: u64,
pub refs_removed: u64,
pub share_entries_removed: u64,
}Expand description
What MetaAdapter::delete_file removed.
Fields§
§file_ids: Vec<Box<str>>Every file id deleted, root first, so the caller can evict each from its folder cache.
Content ids only — a row whose file_id is still NULL (an unfinalized upload) is tombstoned
but has no cache key and nothing that can reference it, so it is absent here.
files_deleted: u64How many files rows were actually tombstoned, including the NULL-file_id ones missing
from file_ids. Always >= file_ids.len().
refs_removed: u64Trait Implementations§
Source§impl Clone for DeleteFileResult
impl Clone for DeleteFileResult
Source§fn clone(&self) -> DeleteFileResult
fn clone(&self) -> DeleteFileResult
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 DeleteFileResult
impl Debug for DeleteFileResult
Source§impl Default for DeleteFileResult
impl Default for DeleteFileResult
Source§fn default() -> DeleteFileResult
fn default() -> DeleteFileResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeleteFileResult
impl RefUnwindSafe for DeleteFileResult
impl Send for DeleteFileResult
impl Sync for DeleteFileResult
impl Unpin for DeleteFileResult
impl UnsafeUnpin for DeleteFileResult
impl UnwindSafe for DeleteFileResult
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