pub enum Platform {
Github,
Gitlab,
Bitbucket,
}Expand description
Target platform for CODEOWNERS file generation.
Different platforms have different default paths and section syntax:
- GitHub:
.github/CODEOWNERS, sections as# Section Name - GitLab:
CODEOWNERS, sections as[Section Name] - Bitbucket:
CODEOWNERS, sections as# Section Name
Variants§
Github
GitHub - uses .github/CODEOWNERS and # Section comments
Gitlab
GitLab - uses CODEOWNERS and [Section] syntax
Bitbucket
Bitbucket - uses CODEOWNERS and # Section comments
Implementations§
Trait Implementations§
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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)