pub enum DeleteNodePreimage {
File {
old_blob_id: ObjectId,
old_mode: u32,
},
Symlink {
old_target: String,
},
}Expand description
Discriminated deletion preimage (FDD-03 §9.3).
Variants§
Trait Implementations§
Source§impl Clone for DeleteNodePreimage
impl Clone for DeleteNodePreimage
Source§fn clone(&self) -> DeleteNodePreimage
fn clone(&self) -> DeleteNodePreimage
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 DeleteNodePreimage
impl Debug for DeleteNodePreimage
impl Eq for DeleteNodePreimage
Source§impl PartialEq for DeleteNodePreimage
impl PartialEq for DeleteNodePreimage
Source§fn eq(&self, other: &DeleteNodePreimage) -> bool
fn eq(&self, other: &DeleteNodePreimage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteNodePreimage
Auto Trait Implementations§
impl Freeze for DeleteNodePreimage
impl RefUnwindSafe for DeleteNodePreimage
impl Send for DeleteNodePreimage
impl Sync for DeleteNodePreimage
impl Unpin for DeleteNodePreimage
impl UnsafeUnpin for DeleteNodePreimage
impl UnwindSafe for DeleteNodePreimage
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