pub struct Outcome {
pub driver_index: Option<usize>,
pub data: Option<Data>,
}
Available on crate feature
blob
only.Expand description
The outcome returned by Pipeline::convert_to_diffable().
Fields§
§driver_index: Option<usize>
If available, an index into the drivers
field to access more diff-related information of the driver for items
at the given path, as previously determined by git-attributes.
Note that drivers are queried even if there is no object available.
data: Option<Data>
The data itself, suitable for diffing, and if the object or worktree item is present at all.
Trait Implementations§
Source§impl Ord for Outcome
impl Ord for Outcome
Source§impl PartialOrd for Outcome
impl PartialOrd for Outcome
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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