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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)