pub enum VcsImpact {
NotRequested,
Available {
selection: GitImpactSelection,
changed_path_count: u64,
},
Unavailable {
selection: GitImpactSelection,
reason: String,
},
}Expand description
Typed VCS availability retained in impact responses.
Variants§
NotRequested
Architecture and trace modes did not request VCS evidence.
Available
Git returned a bounded normalized path set.
Fields
§
selection: GitImpactSelectionExact selector used by the request.
Git is unavailable, the root is not a worktree, or the command failed.
Trait Implementations§
impl Eq for VcsImpact
impl StructuralPartialEq for VcsImpact
Auto Trait Implementations§
impl Freeze for VcsImpact
impl RefUnwindSafe for VcsImpact
impl Send for VcsImpact
impl Sync for VcsImpact
impl Unpin for VcsImpact
impl UnwindSafe for VcsImpact
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more