Struct diary::Config [−][src]
pub struct Config { /* fields omitted */ }Expand description
A representation of the cli-diary config file.
Implementations
Creates a new Config struct based on the passed arguments.
Arguments
diary_path- The location of the diary folder.prefix- The string prefix added before the date in diary entry filenames.
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