pub struct FilePathRestrictionParameters {
pub restricted_file_paths: Vec<String>,
}
Fields§
§restricted_file_paths: Vec<String>
The file paths that are restricted from being pushed to the commit graph.
Implementations§
Source§impl FilePathRestrictionParameters
impl FilePathRestrictionParameters
pub fn new(restricted_file_paths: Vec<String>) -> FilePathRestrictionParameters
Trait Implementations§
Source§impl Clone for FilePathRestrictionParameters
impl Clone for FilePathRestrictionParameters
Source§fn clone(&self) -> FilePathRestrictionParameters
fn clone(&self) -> FilePathRestrictionParameters
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 Default for FilePathRestrictionParameters
impl Default for FilePathRestrictionParameters
Source§fn default() -> FilePathRestrictionParameters
fn default() -> FilePathRestrictionParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilePathRestrictionParameters
impl<'de> Deserialize<'de> for FilePathRestrictionParameters
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 FilePathRestrictionParameters
impl PartialEq for FilePathRestrictionParameters
Source§fn eq(&self, other: &FilePathRestrictionParameters) -> bool
fn eq(&self, other: &FilePathRestrictionParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FilePathRestrictionParameters
Auto Trait Implementations§
impl Freeze for FilePathRestrictionParameters
impl RefUnwindSafe for FilePathRestrictionParameters
impl Send for FilePathRestrictionParameters
impl Sync for FilePathRestrictionParameters
impl Unpin for FilePathRestrictionParameters
impl UnwindSafe for FilePathRestrictionParameters
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