pub struct DeleteFile {
pub path: String,
pub old_blob_id: ObjectId,
}Expand description
Delete file payload.
Fields§
§path: StringRepo-relative UTF-8 path.
old_blob_id: ObjectIdPrevious blob ID needed for inverse/repair reachability.
Trait Implementations§
Source§impl CanonicalEncode for DeleteFile
impl CanonicalEncode for DeleteFile
Source§fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
Encode this value into canonical bytes.
Source§impl Clone for DeleteFile
impl Clone for DeleteFile
Source§fn clone(&self) -> DeleteFile
fn clone(&self) -> DeleteFile
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 DeleteFile
impl Debug for DeleteFile
impl Eq for DeleteFile
Source§impl PartialEq for DeleteFile
impl PartialEq for DeleteFile
Source§fn eq(&self, other: &DeleteFile) -> bool
fn eq(&self, other: &DeleteFile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteFile
Auto Trait Implementations§
impl Freeze for DeleteFile
impl RefUnwindSafe for DeleteFile
impl Send for DeleteFile
impl Sync for DeleteFile
impl Unpin for DeleteFile
impl UnsafeUnpin for DeleteFile
impl UnwindSafe for DeleteFile
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