#[non_exhaustive]pub enum DiffDetail {
Patch,
Stat,
NameStatus,
NameOnly,
}Expand description
How much content to compute for each changed file.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Patch
Full structured line hunks.
Stat
Insertion/deletion counts only (--stat, --numstat, --shortstat).
NameStatus
git diff --name-status (status letter and paths).
NameOnly
git diff --name-only (paths only).
Trait Implementations§
Source§impl Clone for DiffDetail
impl Clone for DiffDetail
impl Copy for DiffDetail
Source§impl Debug for DiffDetail
impl Debug for DiffDetail
Source§impl Default for DiffDetail
impl Default for DiffDetail
impl Eq for DiffDetail
Source§impl PartialEq for DiffDetail
impl PartialEq for DiffDetail
impl StructuralPartialEq for DiffDetail
Auto Trait Implementations§
impl Freeze for DiffDetail
impl RefUnwindSafe for DiffDetail
impl Send for DiffDetail
impl Sync for DiffDetail
impl Unpin for DiffDetail
impl UnsafeUnpin for DiffDetail
impl UnwindSafe for DiffDetail
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