pub struct LintGroupConfig {Show 110 fields
pub overnight: Option<bool>,
pub hereby: Option<bool>,
pub likewise: Option<bool>,
pub compound_nouns: Option<bool>,
pub regardless: Option<bool>,
pub henceforth: Option<bool>,
pub upward: Option<bool>,
pub whereupon: Option<bool>,
pub insofar: Option<bool>,
pub thereupon: Option<bool>,
pub nonetheless: Option<bool>,
pub anyhow: Option<bool>,
pub notwithstanding: Option<bool>,
pub widespread: Option<bool>,
pub multimedia: Option<bool>,
pub multicore: Option<bool>,
pub multithreading: Option<bool>,
pub devops: Option<bool>,
pub underclock: Option<bool>,
pub overload: Option<bool>,
pub backplane: Option<bool>,
pub overclocking: Option<bool>,
pub middleware: Option<bool>,
pub somewhere: Option<bool>,
pub instead: Option<bool>,
pub anywhere: Option<bool>,
pub nothing: Option<bool>,
pub anybody: Option<bool>,
pub somebody: Option<bool>,
pub nobody: Option<bool>,
pub into: Option<bool>,
pub proofread: Option<bool>,
pub somehow: Option<bool>,
pub intact: Option<bool>,
pub upset: Option<bool>,
pub misunderstood: Option<bool>,
pub however: Option<bool>,
pub overall: Option<bool>,
pub worldwide: Option<bool>,
pub postpone: Option<bool>,
pub misused: Option<bool>,
pub misuse: Option<bool>,
pub misunderstand: Option<bool>,
pub therefore: Option<bool>,
pub myself: Option<bool>,
pub itself: Option<bool>,
pub whereas: Option<bool>,
pub possessive_your: Option<bool>,
pub spelled_numbers: Option<bool>,
pub an_a: Option<bool>,
pub sentence_capitalization: Option<bool>,
pub unclosed_quotes: Option<bool>,
pub wrong_quotes: Option<bool>,
pub long_sentences: Option<bool>,
pub repeated_words: Option<bool>,
pub spaces: Option<bool>,
pub matcher: Option<bool>,
pub correct_number_suffix: Option<bool>,
pub number_suffix_capitalization: Option<bool>,
pub multiple_sequential_pronouns: Option<bool>,
pub linking_verbs: Option<bool>,
pub avoid_curses: Option<bool>,
pub terminating_conjunctions: Option<bool>,
pub ellipsis_length: Option<bool>,
pub dot_initialisms: Option<bool>,
pub boring_words: Option<bool>,
pub use_genitive: Option<bool>,
pub that_which: Option<bool>,
pub capitalize_personal_pronouns: Option<bool>,
pub americas: Option<bool>,
pub koreas: Option<bool>,
pub chinese_communist_party: Option<bool>,
pub united_organizations: Option<bool>,
pub holidays: Option<bool>,
pub amazon_names: Option<bool>,
pub google_names: Option<bool>,
pub meta_names: Option<bool>,
pub microsoft_names: Option<bool>,
pub apple_names: Option<bool>,
pub azure_names: Option<bool>,
pub merge_words: Option<bool>,
pub plural_conjugate: Option<bool>,
pub oxford_comma: Option<bool>,
pub no_oxford_comma: Option<bool>,
pub pronoun_contraction: Option<bool>,
pub currency_placement: Option<bool>,
pub somewhat_something: Option<bool>,
pub lets_confusion: Option<bool>,
pub despite_of: Option<bool>,
pub human_life: Option<bool>,
pub need_help: Option<bool>,
pub no_longer: Option<bool>,
pub that_challenged: Option<bool>,
pub turn_it_off: Option<bool>,
pub of_course: Option<bool>,
pub and_alike: Option<bool>,
pub bad_rap: Option<bool>,
pub bated_breath: Option<bool>,
pub beck_and_call: Option<bool>,
pub change_tack: Option<bool>,
pub hunger_pang: Option<bool>,
pub en_masse: Option<bool>,
pub let_alone: Option<bool>,
pub lo_and_behold: Option<bool>,
pub sneaking_suspicion: Option<bool>,
pub special_attention: Option<bool>,
pub everywhere: Option<bool>,
pub than_others: Option<bool>,
pub supposed_to: Option<bool>,
pub spell_check: Option<bool>,
}
Expand description
A collection of all officially supported
Fields§
§overnight: Option<bool>
§hereby: Option<bool>
§likewise: Option<bool>
§compound_nouns: Option<bool>
Configures the use of the CompoundNouns
linter.
If set to None
, the default configuration will be used.
regardless: Option<bool>
Configures the use of the Regardless
linter.
If set to None
, the default configuration will be used.
henceforth: Option<bool>
Configures the use of the Henceforth
linter.
If set to None
, the default configuration will be used.
upward: Option<bool>
§whereupon: Option<bool>
§insofar: Option<bool>
§thereupon: Option<bool>
§nonetheless: Option<bool>
Configures the use of the Nonetheless
linter.
If set to None
, the default configuration will be used.
anyhow: Option<bool>
§notwithstanding: Option<bool>
Configures the use of the Notwithstanding
linter.
If set to None
, the default configuration will be used.
widespread: Option<bool>
Configures the use of the Widespread
linter.
If set to None
, the default configuration will be used.
multimedia: Option<bool>
Configures the use of the Multimedia
linter.
If set to None
, the default configuration will be used.
multicore: Option<bool>
§multithreading: Option<bool>
Configures the use of the Multithreading
linter.
If set to None
, the default configuration will be used.
devops: Option<bool>
§underclock: Option<bool>
Configures the use of the Underclock
linter.
If set to None
, the default configuration will be used.
overload: Option<bool>
§backplane: Option<bool>
§overclocking: Option<bool>
Configures the use of the Overclocking
linter.
If set to None
, the default configuration will be used.
middleware: Option<bool>
Configures the use of the Middleware
linter.
If set to None
, the default configuration will be used.
somewhere: Option<bool>
§instead: Option<bool>
§anywhere: Option<bool>
§nothing: Option<bool>
§anybody: Option<bool>
§somebody: Option<bool>
§nobody: Option<bool>
§into: Option<bool>
§proofread: Option<bool>
§somehow: Option<bool>
§intact: Option<bool>
§upset: Option<bool>
§misunderstood: Option<bool>
Configures the use of the Misunderstood
linter.
If set to None
, the default configuration will be used.
however: Option<bool>
§overall: Option<bool>
§worldwide: Option<bool>
§postpone: Option<bool>
§misused: Option<bool>
§misuse: Option<bool>
§misunderstand: Option<bool>
Configures the use of the Misunderstand
linter.
If set to None
, the default configuration will be used.
therefore: Option<bool>
§myself: Option<bool>
§itself: Option<bool>
§whereas: Option<bool>
§possessive_your: Option<bool>
Configures the use of the PossessiveYour
linter.
If set to None
, the default configuration will be used.
spelled_numbers: Option<bool>
Configures the use of the SpelledNumbers
linter.
If set to None
, the default configuration will be used.
an_a: Option<bool>
§sentence_capitalization: Option<bool>
Configures the use of the SentenceCapitalization
linter.
If set to None
, the default configuration will be used.
unclosed_quotes: Option<bool>
Configures the use of the UnclosedQuotes
linter.
If set to None
, the default configuration will be used.
wrong_quotes: Option<bool>
Configures the use of the WrongQuotes
linter.
If set to None
, the default configuration will be used.
long_sentences: Option<bool>
Configures the use of the LongSentences
linter.
If set to None
, the default configuration will be used.
repeated_words: Option<bool>
Configures the use of the RepeatedWords
linter.
If set to None
, the default configuration will be used.
spaces: Option<bool>
§matcher: Option<bool>
§correct_number_suffix: Option<bool>
Configures the use of the CorrectNumberSuffix
linter.
If set to None
, the default configuration will be used.
number_suffix_capitalization: Option<bool>
Configures the use of the NumberSuffixCapitalization
linter.
If set to None
, the default configuration will be used.
multiple_sequential_pronouns: Option<bool>
Configures the use of the MultipleSequentialPronouns
linter.
If set to None
, the default configuration will be used.
linking_verbs: Option<bool>
Configures the use of the LinkingVerbs
linter.
If set to None
, the default configuration will be used.
avoid_curses: Option<bool>
Configures the use of the AvoidCurses
linter.
If set to None
, the default configuration will be used.
terminating_conjunctions: Option<bool>
Configures the use of the TerminatingConjunctions
linter.
If set to None
, the default configuration will be used.
ellipsis_length: Option<bool>
Configures the use of the EllipsisLength
linter.
If set to None
, the default configuration will be used.
dot_initialisms: Option<bool>
Configures the use of the DotInitialisms
linter.
If set to None
, the default configuration will be used.
boring_words: Option<bool>
Configures the use of the BoringWords
linter.
If set to None
, the default configuration will be used.
use_genitive: Option<bool>
Configures the use of the UseGenitive
linter.
If set to None
, the default configuration will be used.
that_which: Option<bool>
§capitalize_personal_pronouns: Option<bool>
Configures the use of the CapitalizePersonalPronouns
linter.
If set to None
, the default configuration will be used.
americas: Option<bool>
§koreas: Option<bool>
§chinese_communist_party: Option<bool>
Configures the use of the ChineseCommunistParty
linter.
If set to None
, the default configuration will be used.
united_organizations: Option<bool>
Configures the use of the UnitedOrganizations
linter.
If set to None
, the default configuration will be used.
holidays: Option<bool>
§amazon_names: Option<bool>
Configures the use of the AmazonNames
linter.
If set to None
, the default configuration will be used.
google_names: Option<bool>
Configures the use of the GoogleNames
linter.
If set to None
, the default configuration will be used.
meta_names: Option<bool>
§microsoft_names: Option<bool>
Configures the use of the MicrosoftNames
linter.
If set to None
, the default configuration will be used.
apple_names: Option<bool>
Configures the use of the AppleNames
linter.
If set to None
, the default configuration will be used.
azure_names: Option<bool>
Configures the use of the AzureNames
linter.
If set to None
, the default configuration will be used.
merge_words: Option<bool>
Configures the use of the MergeWords
linter.
If set to None
, the default configuration will be used.
plural_conjugate: Option<bool>
Configures the use of the PluralConjugate
linter.
If set to None
, the default configuration will be used.
oxford_comma: Option<bool>
Configures the use of the OxfordComma
linter.
If set to None
, the default configuration will be used.
no_oxford_comma: Option<bool>
Configures the use of the NoOxfordComma
linter.
If set to None
, the default configuration will be used.
pronoun_contraction: Option<bool>
Configures the use of the PronounContraction
linter.
If set to None
, the default configuration will be used.
currency_placement: Option<bool>
Configures the use of the CurrencyPlacement
linter.
If set to None
, the default configuration will be used.
somewhat_something: Option<bool>
Configures the use of the SomewhatSomething
linter.
If set to None
, the default configuration will be used.
lets_confusion: Option<bool>
Configures the use of the LetsConfusion
linter.
If set to None
, the default configuration will be used.
despite_of: Option<bool>
§human_life: Option<bool>
§need_help: Option<bool>
§no_longer: Option<bool>
§that_challenged: Option<bool>
Configures the use of the ThatChallenged
linter.
If set to None
, the default configuration will be used.
turn_it_off: Option<bool>
§of_course: Option<bool>
§and_alike: Option<bool>
§bad_rap: Option<bool>
§bated_breath: Option<bool>
Configures the use of the BatedBreath
linter.
If set to None
, the default configuration will be used.
beck_and_call: Option<bool>
Configures the use of the BeckAndCall
linter.
If set to None
, the default configuration will be used.
change_tack: Option<bool>
Configures the use of the ChangeTack
linter.
If set to None
, the default configuration will be used.
hunger_pang: Option<bool>
Configures the use of the HungerPang
linter.
If set to None
, the default configuration will be used.
en_masse: Option<bool>
§let_alone: Option<bool>
§lo_and_behold: Option<bool>
Configures the use of the LoAndBehold
linter.
If set to None
, the default configuration will be used.
sneaking_suspicion: Option<bool>
Configures the use of the SneakingSuspicion
linter.
If set to None
, the default configuration will be used.
special_attention: Option<bool>
Configures the use of the SpecialAttention
linter.
If set to None
, the default configuration will be used.
everywhere: Option<bool>
Configures the use of the Everywhere
linter.
If set to None
, the default configuration will be used.
than_others: Option<bool>
Configures the use of the ThanOthers
linter.
If set to None
, the default configuration will be used.
supposed_to: Option<bool>
Configures the use of the SupposedTo
linter.
If set to None
, the default configuration will be used.
spell_check: Option<bool>
Implementations§
Source§impl LintGroupConfig
impl LintGroupConfig
Sourcepub fn fill_default_values(&mut self)
pub fn fill_default_values(&mut self)
Fills the None
values in the configuration with the default values.
Trait Implementations§
Source§impl Clone for LintGroupConfig
impl Clone for LintGroupConfig
Source§fn clone(&self) -> LintGroupConfig
fn clone(&self) -> LintGroupConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LintGroupConfig
impl Debug for LintGroupConfig
Source§impl Default for LintGroupConfig
impl Default for LintGroupConfig
Source§fn default() -> LintGroupConfig
fn default() -> LintGroupConfig
Source§impl<'de> Deserialize<'de> for LintGroupConfig
impl<'de> Deserialize<'de> for LintGroupConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for LintGroupConfig
impl Serialize for LintGroupConfig
impl Copy for LintGroupConfig
Auto Trait Implementations§
impl Freeze for LintGroupConfig
impl RefUnwindSafe for LintGroupConfig
impl Send for LintGroupConfig
impl Sync for LintGroupConfig
impl Unpin for LintGroupConfig
impl UnwindSafe for LintGroupConfig
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
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>
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>
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