Struct git_checks::RestrictedPath
source · pub struct RestrictedPath { /* private fields */ }
Expand description
A check which denies commits which modify files underneath certain path.
Implementations§
source§impl RestrictedPath
impl RestrictedPath
sourcepub fn builder() -> RestrictedPathBuilder
pub fn builder() -> RestrictedPathBuilder
Create a new builder.
Trait Implementations§
source§impl Clone for RestrictedPath
impl Clone for RestrictedPath
source§fn clone(&self) -> RestrictedPath
fn clone(&self) -> RestrictedPath
Returns a copy 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 ContentCheck for RestrictedPath
impl ContentCheck for RestrictedPath
Auto Trait Implementations§
impl RefUnwindSafe for RestrictedPath
impl Send for RestrictedPath
impl Sync for RestrictedPath
impl Unpin for RestrictedPath
impl UnwindSafe for RestrictedPath
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