Struct devlog::config::Config[][src]

pub struct Config { /* fields omitted */ }

Implementations

Create a new configuration object with the specified configuration values. This is used mainly for testing.

Load configuration from environment variables, providing defaults if the environment variables are not defined.

The directory of the user’s devlog repository, which may or may not exist. Defaults to “$HOME/devlogs”

The text editor program for editing devlog entry files. Defaults to “nano”.

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.