pub struct Config {Show 15 fields
pub heading_style: HeadingStyle,
pub quote_style: QuoteStyle,
pub limits: Limits,
pub scores: ScoreThresholds,
pub whitelist: Whitelist,
pub buzzwords: BuzzwordConfig,
pub transitions: BuzzwordConfig,
pub puffery: PhraseList,
pub templates: PhraseList,
pub weasel: PhraseList,
pub marketing_cliches: PhraseList,
pub profile_defaults: ProfileRules,
pub profiles: Vec<ProfileConfig>,
pub repo_rules: RepoRules,
pub comment_policy: CommentPolicy,
}Expand description
Top-level configuration for the analyzer.
Fields§
§heading_style: HeadingStyle§quote_style: QuoteStyle§limits: Limits§scores: ScoreThresholds§whitelist: Whitelist§buzzwords: BuzzwordConfig§transitions: BuzzwordConfig§puffery: PhraseList§templates: PhraseList§weasel: PhraseList§marketing_cliches: PhraseList§profile_defaults: ProfileRules§profiles: Vec<ProfileConfig>§repo_rules: RepoRules§comment_policy: CommentPolicyTrait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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