Struct treefmt::config::FmtConfig [−][src]
pub struct FmtConfig {
pub command: String,
pub work_dir: PathBuf,
pub options: Vec<String>,
pub includes: Vec<String>,
pub excludes: Vec<String>,
}Expand description
Config for each formatters
Fields
command: StringCommand formatter to run
work_dir: PathBufWorking directory for formatter
options: Vec<String>Argument for formatter
includes: Vec<String>File or Folder that is included to be formatted
excludes: Vec<String>File or Folder that is excluded to be formatted
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