pub struct DiffArguments {
pub target: DiffTarget,
pub pathspecs: Vec<String>,
}Expand description
Resolved diff mode and normalized pathspecs.
Fields§
§target: DiffTargetWhat to diff.
pathspecs: Vec<String>Repository-relative pathspecs (empty = all paths).
Trait Implementations§
Source§impl Clone for DiffArguments
impl Clone for DiffArguments
Source§impl Debug for DiffArguments
impl Debug for DiffArguments
impl Eq for DiffArguments
Source§impl PartialEq for DiffArguments
impl PartialEq for DiffArguments
impl StructuralPartialEq for DiffArguments
Auto Trait Implementations§
impl Freeze for DiffArguments
impl RefUnwindSafe for DiffArguments
impl Send for DiffArguments
impl Sync for DiffArguments
impl Unpin for DiffArguments
impl UnsafeUnpin for DiffArguments
impl UnwindSafe for DiffArguments
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