pub struct ProjectOwners {
pub path: PathBuf,
pub name: String,
pub rules: Vec<Rule>,
}Expand description
Project with its owners configuration and relative path.
Used to aggregate ownership rules from multiple projects in a workspace.
Fields§
§path: PathBufRelative path from repo root to project directory.
name: StringProject name (used for section headers).
rules: Vec<Rule>Ownership rules for this project.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectOwners
impl Clone for ProjectOwners
Source§fn clone(&self) -> ProjectOwners
fn clone(&self) -> ProjectOwners
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProjectOwners
impl RefUnwindSafe for ProjectOwners
impl Send for ProjectOwners
impl Sync for ProjectOwners
impl Unpin for ProjectOwners
impl UnsafeUnpin for ProjectOwners
impl UnwindSafe for ProjectOwners
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