pub struct FixOptions {
pub unsafe_fixes: bool,
pub promoted: Vec<String>,
pub disabled: Vec<String>,
pub only: Vec<String>,
pub dry_run: bool,
}Fields§
§unsafe_fixes: boolApply unsafe fixes too.
promoted: Vec<String>Rules promoted to safe by [fix] unsafe in htl.toml.
disabled: Vec<String>Rules whose fixes are never applied ([fix] disable).
only: Vec<String>Only these rules (--rule a,b); empty = all.
dry_run: boolCompute everything, write nothing.
Trait Implementations§
Source§impl Clone for FixOptions
impl Clone for FixOptions
Source§fn clone(&self) -> FixOptions
fn clone(&self) -> FixOptions
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 FixOptions
impl Debug for FixOptions
Source§impl Default for FixOptions
impl Default for FixOptions
Source§fn default() -> FixOptions
fn default() -> FixOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FixOptions
impl RefUnwindSafe for FixOptions
impl Send for FixOptions
impl Sync for FixOptions
impl Unpin for FixOptions
impl UnsafeUnpin for FixOptions
impl UnwindSafe for FixOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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