pub struct DeleteOptions {
pub behavior: DeleteDirectoryBehavior,
pub commit_id: Option<CommitId>,
pub message: Option<String>,
pub expected_inode_id: Option<InodeId>,
}Expand description
Options for deleting a path.
Fields§
§behavior: DeleteDirectoryBehaviorDirectory delete behavior.
commit_id: Option<CommitId>Optional idempotency key.
message: Option<String>Annotation recorded on the commit; part of the commit’s identity.
expected_inode_id: Option<InodeId>When set, the delete applies only while the path still resolves to this inode, so a raced rebinding fails instead of deleting the wrong inode.
Trait Implementations§
Source§impl Clone for DeleteOptions
impl Clone for DeleteOptions
Source§fn clone(&self) -> DeleteOptions
fn clone(&self) -> DeleteOptions
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 DeleteOptions
impl Debug for DeleteOptions
Source§impl Default for DeleteOptions
impl Default 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