pub struct OwnWork {
pub commits: usize,
pub names: Vec<String>,
}Expand description
How much of a commit range the reviewing model wrote — see
reviewers_own_work.
Fields§
§commits: usizeHow many of the messages carry at least one matching trailer.
Counted separately from OwnWork::names because the two answer
different questions and are easy to conflate into a sentence that is
quietly false: one model spelled two ways across nine commits is two names
and nine commits, and a warning that says “2 commits” would be wrong about
the only number a reader would act on.
names: Vec<String>The matching trailer names as written, de-duplicated, first-seen order —
so a warning quotes what git log would show rather than a normalised
form the reader could not search for.
Implementations§
Trait Implementations§
impl Eq for OwnWork
impl StructuralPartialEq for OwnWork
Auto Trait Implementations§
impl Freeze for OwnWork
impl RefUnwindSafe for OwnWork
impl Send for OwnWork
impl Sync for OwnWork
impl Unpin for OwnWork
impl UnsafeUnpin for OwnWork
impl UnwindSafe for OwnWork
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.