pub struct OptionsBlock {
pub target: &'static str,
pub dry_run: bool,
pub extensions: Vec<String>,
pub exclude_dirs: Vec<String>,
pub exclude_ext: Vec<String>,
pub exclude_globs: Vec<String>,
pub backup_dir: Option<String>,
}Expand description
Effective CLI options snapshot (EXECUTION.md §12 options).
Fields§
§target: &'static str§dry_run: bool§extensions: Vec<String>§exclude_dirs: Vec<String>§exclude_ext: Vec<String>§exclude_globs: Vec<String>§backup_dir: Option<String>Trait Implementations§
Source§impl Debug for OptionsBlock
impl Debug for OptionsBlock
Auto Trait Implementations§
impl Freeze for OptionsBlock
impl RefUnwindSafe for OptionsBlock
impl Send for OptionsBlock
impl Sync for OptionsBlock
impl Unpin for OptionsBlock
impl UnsafeUnpin for OptionsBlock
impl UnwindSafe for OptionsBlock
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more