pub struct CodeownersEntry {
pub pattern: String,
pub owners: Vec<String>,
}Expand description
A single CODEOWNERS entry mapping a file pattern to its designated owners.
Fields§
§pattern: StringFile pattern (e.g. “.rs”, “/src/auth/”, “”).
owners: Vec<String>Designated owners (e.g. “@org/security-team”, “alice@example.com”).
Trait Implementations§
Source§impl Clone for CodeownersEntry
impl Clone for CodeownersEntry
Source§fn clone(&self) -> CodeownersEntry
fn clone(&self) -> CodeownersEntry
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 moreSource§impl Debug for CodeownersEntry
impl Debug for CodeownersEntry
Source§impl<'de> Deserialize<'de> for CodeownersEntry
impl<'de> Deserialize<'de> for CodeownersEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodeownersEntry
impl PartialEq for CodeownersEntry
Source§impl Serialize for CodeownersEntry
impl Serialize for CodeownersEntry
impl Eq for CodeownersEntry
impl StructuralPartialEq for CodeownersEntry
Auto Trait Implementations§
impl Freeze for CodeownersEntry
impl RefUnwindSafe for CodeownersEntry
impl Send for CodeownersEntry
impl Sync for CodeownersEntry
impl Unpin for CodeownersEntry
impl UnsafeUnpin for CodeownersEntry
impl UnwindSafe for CodeownersEntry
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