pub struct RoutingUnit {
pub file: String,
pub expert: Vec<String>,
pub bus_factor_one: bool,
}Expand description
One routed unit with its experts and bus-factor flag.
Fields§
§file: StringRoot-relative path of the changed file.
expert: Vec<String>The routed expert(s): the CODEOWNERS declared owner when present, else the top git-blame / recency contributor; empty when no signal is available.
bus_factor_one: boolWhether the only qualified owner is a single contributor (bus-factor-1): a knowledge-concentration risk worth a second reviewer.
Trait Implementations§
Source§impl Clone for RoutingUnit
impl Clone for RoutingUnit
Source§impl Debug for RoutingUnit
impl Debug for RoutingUnit
Auto Trait Implementations§
impl Freeze for RoutingUnit
impl RefUnwindSafe for RoutingUnit
impl Send for RoutingUnit
impl Sync for RoutingUnit
impl Unpin for RoutingUnit
impl UnsafeUnpin for RoutingUnit
impl UnwindSafe for RoutingUnit
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