Struct rmemo::config::Config

source ·
pub struct Config {
    pub enter_time_in_filename: Option<bool>,
    /* private fields */
}
Expand description

Structure that loads setting information from file and mapping

Fields

enter_time_in_filename: Option<bool>

Implementations

Read the file in which the setting file is described. If not, create it

Get the file pointer of the setting file. When there is no file, a setting file is created.

Unwrap and return the memo_dir property

Unwrap and return the enter_time_in_filename property

Unwrap and return the editor property

Unwrap and return the selector property

Unwrap and return the grep_command property

Unwrap and return the template_file_path property

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.