pub struct PlannerConfig {
pub allow: Vec<String>,
pub deny: Vec<String>,
pub allow_guarded: bool,
pub allow_unsafe: bool,
pub allow_dirty: bool,
pub max_ops: Option<u64>,
pub max_files: Option<u64>,
pub max_patch_bytes: Option<u64>,
pub params: HashMap<String, String>,
}Expand description
Shared planning input passed into fixers.
Fields§
§allow: Vec<String>§deny: Vec<String>§allow_guarded: bool§allow_unsafe: bool§allow_dirty: bool§max_ops: Option<u64>§max_files: Option<u64>§max_patch_bytes: Option<u64>§params: HashMap<String, String>Trait Implementations§
Source§impl Clone for PlannerConfig
impl Clone for PlannerConfig
Source§fn clone(&self) -> PlannerConfig
fn clone(&self) -> PlannerConfig
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 PlannerConfig
impl Debug for PlannerConfig
Source§impl Default for PlannerConfig
impl Default for PlannerConfig
Source§fn default() -> PlannerConfig
fn default() -> PlannerConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlannerConfig
impl RefUnwindSafe for PlannerConfig
impl Send for PlannerConfig
impl Sync for PlannerConfig
impl Unpin for PlannerConfig
impl UnsafeUnpin for PlannerConfig
impl UnwindSafe for PlannerConfig
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