pub struct SourcedGlobalConfig {Show 13 fields
pub enable: SourcedValue<Vec<String>>,
pub disable: SourcedValue<Vec<String>>,
pub exclude: SourcedValue<Vec<String>>,
pub include: SourcedValue<Vec<String>>,
pub respect_gitignore: SourcedValue<bool>,
pub line_length: SourcedValue<LineLength>,
pub output_format: Option<SourcedValue<String>>,
pub fixable: SourcedValue<Vec<String>>,
pub unfixable: SourcedValue<Vec<String>>,
pub flavor: SourcedValue<MarkdownFlavor>,
pub force_exclude: SourcedValue<bool>,
pub cache_dir: Option<SourcedValue<String>>,
pub cache: SourcedValue<bool>,
}Fields§
§enable: SourcedValue<Vec<String>>§disable: SourcedValue<Vec<String>>§exclude: SourcedValue<Vec<String>>§include: SourcedValue<Vec<String>>§respect_gitignore: SourcedValue<bool>§line_length: SourcedValue<LineLength>§output_format: Option<SourcedValue<String>>§fixable: SourcedValue<Vec<String>>§unfixable: SourcedValue<Vec<String>>§flavor: SourcedValue<MarkdownFlavor>§force_exclude: SourcedValue<bool>§cache_dir: Option<SourcedValue<String>>§cache: SourcedValue<bool>Trait Implementations§
Source§impl Clone for SourcedGlobalConfig
impl Clone for SourcedGlobalConfig
Source§fn clone(&self) -> SourcedGlobalConfig
fn clone(&self) -> SourcedGlobalConfig
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 SourcedGlobalConfig
impl Debug for SourcedGlobalConfig
Auto Trait Implementations§
impl Freeze for SourcedGlobalConfig
impl RefUnwindSafe for SourcedGlobalConfig
impl Send for SourcedGlobalConfig
impl Sync for SourcedGlobalConfig
impl Unpin for SourcedGlobalConfig
impl UnwindSafe for SourcedGlobalConfig
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> 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