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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.