pub struct BlobIds {
pub old: Option<String>,
pub new: Option<String>,
}Expand description
The git blob ids of a file’s two sides, hex-encoded, None for a side
that does not exist (an add, a delete). A working-tree side’s id is only
a hash of the file on disk, with no object behind it in the store.
Fields§
§old: Option<String>§new: Option<String>Trait Implementations§
impl Eq for BlobIds
impl StructuralPartialEq for BlobIds
Auto Trait Implementations§
impl Freeze for BlobIds
impl RefUnwindSafe for BlobIds
impl Send for BlobIds
impl Sync for BlobIds
impl Unpin for BlobIds
impl UnsafeUnpin for BlobIds
impl UnwindSafe for BlobIds
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