pub struct PatchPolicy {
pub forbidden_paths: Vec<String>,
pub allow_test_modifications: bool,
pub max_files_changed: usize,
pub max_total_lines_changed: usize,
pub max_lines_changed_per_file: usize,
}Fields§
§forbidden_paths: Vec<String>§allow_test_modifications: bool§max_files_changed: usize§max_total_lines_changed: usize§max_lines_changed_per_file: usizeTrait Implementations§
Source§impl Clone for PatchPolicy
impl Clone for PatchPolicy
Source§fn clone(&self) -> PatchPolicy
fn clone(&self) -> PatchPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PatchPolicy
impl RefUnwindSafe for PatchPolicy
impl Send for PatchPolicy
impl Sync for PatchPolicy
impl Unpin for PatchPolicy
impl UnsafeUnpin for PatchPolicy
impl UnwindSafe for PatchPolicy
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