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

Formats the value using the given formatter. Read more

Creates a default Config, used when the user doesn’t have a config initialised.

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.