Debian Codegraph @

src/options/config/ignore_list.rs

raw symbols SCIP
1 use serderust-analyzer cargo serde 1.0.228 crate/::{Deserializerust-analyzer cargo serde_core 1.0.228 de/Deserialize#, Serializerust-analyzer cargo serde_core 1.0.228 ser/Serialize#};
2
3 /// Workaround as per <https://github.com/serde-rs/serde/issues/1030>.
4 fn default_as_truerust-analyzer cargo bottom 0.14.9 options/config/ignore_list/default_as_true().() -> bool {
5 true
6 }
7
8 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default:, Deserializerust-analyzer cargo serde_derive 1.0.228 Deserialize:, Serializerust-analyzer cargo serde_derive 1.0.228 Serialize:)]
9 #[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))]
10 #[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:))]
11 pub struct IgnoreListrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList# {
12 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default = "default_as_true")]
13 // TODO: Deprecate and/or rename, current name sounds awful.
14 // Maybe to something like "deny_entries"? Currently it defaults to a denylist anyways, so
15 // maybe "allow_entries"?
16 pub is_list_ignoredrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#is_list_ignored.: bool,
17 pub listrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#list.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>,
18 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default)]
19 pub regexrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#regex.: bool,
20 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default)]
21 pub case_sensitiverust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#case_sensitive.: bool,
22 #[serderust-analyzer cargo serde_derive 1.0.228 serde:(default)]
23 pub whole_wordrust-analyzer cargo bottom 0.14.9 options/config/ignore_list/IgnoreList#whole_word.: bool,
24 }