pub struct FilePathRestriction {
pub type: Type,
pub parameters: Option<Box<FilePathRestrictionParameters>>,
}
Expand description
FilePathRestriction : Note: file_path_restriction is in beta and subject to change. Prevent commits that include changes in specified file paths from being pushed to the commit graph.
Fields§
§type: Type
§parameters: Option<Box<FilePathRestrictionParameters>>
Implementations§
Source§impl FilePathRestriction
impl FilePathRestriction
Sourcepub fn new(type: Type) -> FilePathRestriction
pub fn new(type: Type) -> FilePathRestriction
Note: file_path_restriction is in beta and subject to change. Prevent commits that include changes in specified file paths from being pushed to the commit graph.
Trait Implementations§
Source§impl Clone for FilePathRestriction
impl Clone for FilePathRestriction
Source§fn clone(&self) -> FilePathRestriction
fn clone(&self) -> FilePathRestriction
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 FilePathRestriction
impl Debug for FilePathRestriction
Source§impl Default for FilePathRestriction
impl Default for FilePathRestriction
Source§fn default() -> FilePathRestriction
fn default() -> FilePathRestriction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilePathRestriction
impl<'de> Deserialize<'de> for FilePathRestriction
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 FilePathRestriction
impl PartialEq for FilePathRestriction
Source§impl Serialize for FilePathRestriction
impl Serialize for FilePathRestriction
impl StructuralPartialEq for FilePathRestriction
Auto Trait Implementations§
impl Freeze for FilePathRestriction
impl RefUnwindSafe for FilePathRestriction
impl Send for FilePathRestriction
impl Sync for FilePathRestriction
impl Unpin for FilePathRestriction
impl UnwindSafe for FilePathRestriction
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