Struct taplo_cli::config::Config [−][src]
pub struct Config {
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
pub rule: Option<Vec<Rule>>,
pub global_options: Options,
}Fields
include: Option<Vec<String>>Files to include.
A list of Unix-like glob path patterns.
Globstars (**) are supported.
Relative paths are not relative to the configuration file, but rather depends on the tool using the configuration.
Omitting this property includes all files, however an empty array will include none.
exclude: Option<Vec<String>>Files to exclude (ignore).
A list of Unix-like glob path patterns.
Globstars (**) are supported.
Relative paths are not relative to the configuration file, but rather depends on the tool using the configuration.
This has priority over include.
rule: Option<Vec<Rule>>Rules are used to override configurations by path and keys.
global_options: OptionsImplementations
Tell if a path is excluded
Trait Implementations
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 RefUnwindSafe for Configimpl UnwindSafe for ConfigBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self