pub struct ProjectOwners {
pub path: PathBuf,
pub name: String,
pub default_owners: Option<Vec<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).
default_owners: Option<Vec<String>>Default owners for all files in this project.
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§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 UnwindSafe for ProjectOwners
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)