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>,
pub config_file: Option<String>,
pub ignore_file: Option<String>,
}Expand description
Effective CLI options snapshot, embedded in every JSON report.
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>§config_file: Option<String>Config file in effect (--config value verbatim); omitted when absent.
ignore_file: Option<String>Ignore rules in effect (explicit path or auto-discovered
<root>/.utf8forgeignore); omitted when none are active.
Trait Implementations§
Source§impl Debug for OptionsBlock
impl Debug for OptionsBlock
Auto Trait Implementations§
impl Forget for OptionsBlock
impl Freeze for OptionsBlock
impl Move 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