Struct sortery::structs::ConfigData [−][src]
pub struct ConfigData {
pub date_format: String,
pub date_type: String,
pub exclude_type: Vec<String>,
pub only_type: Vec<String>,
pub preserve_name: bool,
}
Expand description
The struct used for getting the config data from a json file
Fields
date_format: String
date_type: String
exclude_type: Vec<String>
only_type: Vec<String>
preserve_name: bool
Implementations
Return an instance of ConfigData from the data in String
json
.
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