pub struct ConfigRuntimeOptions {
pub strict: bool,
pub default_ignore: Vec<String>,
pub dangerously_allow_sources_outside_root: bool,
pub dangerously_allow_targets_outside_worktree: bool,
}Expand description
Runtime options declared by a config file.
Fields§
§strict: boolEnables strict declarative validation and conflict handling.
default_ignore: Vec<String>Default path ignore patterns prepended to copy and sync operations.
dangerously_allow_sources_outside_root: boolAllows file operation sources outside the root checkout.
dangerously_allow_targets_outside_worktree: boolAllows file operation targets outside the current worktree.
Trait Implementations§
Source§impl Clone for ConfigRuntimeOptions
impl Clone for ConfigRuntimeOptions
Source§fn clone(&self) -> ConfigRuntimeOptions
fn clone(&self) -> ConfigRuntimeOptions
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 moreSource§impl Debug for ConfigRuntimeOptions
impl Debug for ConfigRuntimeOptions
Source§impl Default for ConfigRuntimeOptions
impl Default for ConfigRuntimeOptions
Source§fn default() -> ConfigRuntimeOptions
fn default() -> ConfigRuntimeOptions
Returns the “default value” for a type. Read more
impl Eq for ConfigRuntimeOptions
Source§impl From<ConfigRuntimeOptions> for ActionPlanOptions
impl From<ConfigRuntimeOptions> for ActionPlanOptions
Source§fn from(options: ConfigRuntimeOptions) -> Self
fn from(options: ConfigRuntimeOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigRuntimeOptions
impl PartialEq for ConfigRuntimeOptions
Source§fn eq(&self, other: &ConfigRuntimeOptions) -> bool
fn eq(&self, other: &ConfigRuntimeOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigRuntimeOptions
impl Serialize for ConfigRuntimeOptions
impl StructuralPartialEq for ConfigRuntimeOptions
Auto Trait Implementations§
impl Freeze for ConfigRuntimeOptions
impl RefUnwindSafe for ConfigRuntimeOptions
impl Send for ConfigRuntimeOptions
impl Sync for ConfigRuntimeOptions
impl Unpin for ConfigRuntimeOptions
impl UnsafeUnpin for ConfigRuntimeOptions
impl UnwindSafe for ConfigRuntimeOptions
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