pub struct DiffEntry {
pub src_sha: String,
pub dst_sha: String,
pub status: char,
pub similarity: Option<u16>,
pub src_name: String,
pub dst_name: Option<String>,
}Fields§
§src_sha: String§dst_sha: String§status: char§similarity: Option<u16>Present only for R (rename) and C (copy); the similarity
score git computed.
src_name: String§dst_name: Option<String>Present only for R and C.
Implementations§
Trait Implementations§
impl Eq for DiffEntry
impl StructuralPartialEq for DiffEntry
Auto Trait Implementations§
impl Freeze for DiffEntry
impl RefUnwindSafe for DiffEntry
impl Send for DiffEntry
impl Sync for DiffEntry
impl Unpin for DiffEntry
impl UnsafeUnpin for DiffEntry
impl UnwindSafe for DiffEntry
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