pub struct OwnerGroupFact {
pub owner: String,
pub direct_count: usize,
pub affected_count: usize,
}Expand description
One owner group and how many files of the changeset it owns.
Fields§
§owner: StringThe CODEOWNERS owner (@user, @org/team, or an email), or
(unowned).
direct_count: usizeChanged files this group owns.
affected_count: usizeFiles of the impact closure (affected, not in the diff) this group owns.
Trait Implementations§
Source§impl Clone for OwnerGroupFact
impl Clone for OwnerGroupFact
Source§impl Debug for OwnerGroupFact
impl Debug for OwnerGroupFact
impl Eq for OwnerGroupFact
Source§impl PartialEq for OwnerGroupFact
impl PartialEq for OwnerGroupFact
Source§impl Serialize for OwnerGroupFact
impl Serialize for OwnerGroupFact
impl StructuralPartialEq for OwnerGroupFact
Auto Trait Implementations§
impl Freeze for OwnerGroupFact
impl RefUnwindSafe for OwnerGroupFact
impl Send for OwnerGroupFact
impl Sync for OwnerGroupFact
impl Unpin for OwnerGroupFact
impl UnsafeUnpin for OwnerGroupFact
impl UnwindSafe for OwnerGroupFact
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.