pub struct DeleteOptions {
pub behavior: DeleteDirectoryBehavior,
pub commit: CommitOptions,
pub expected_inode_id: Option<InodeId>,
}Expand description
Options for deleting a path.
Fields§
§behavior: DeleteDirectoryBehaviorDirectory delete behavior.
commit: CommitOptionsActor, commit ID, and message.
expected_inode_id: Option<InodeId>The inode that the path must still resolve to before deletion.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteOptions
impl Clone for DeleteOptions
Source§impl Debug for DeleteOptions
impl Debug for DeleteOptions
impl Eq for DeleteOptions
Source§impl PartialEq for DeleteOptions
impl PartialEq for DeleteOptions
impl StructuralPartialEq for DeleteOptions
Auto Trait Implementations§
impl Freeze for DeleteOptions
impl RefUnwindSafe for DeleteOptions
impl Send for DeleteOptions
impl Sync for DeleteOptions
impl Unpin for DeleteOptions
impl UnsafeUnpin for DeleteOptions
impl UnwindSafe for DeleteOptions
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