pub struct Settings {
Show 24 fields pub mode: Mode, pub debug: bool, pub fuzzy: i16, pub session_id: String, pub mcfly_history: PathBuf, pub output_selection: Option<String>, pub command: String, pub dir: String, pub results: u16, pub when_run: Option<i64>, pub exit_code: Option<i32>, pub old_dir: Option<String>, pub append_to_histfile: bool, pub refresh_training_cache: bool, pub lightmode: bool, pub key_scheme: KeyScheme, pub history_format: HistoryFormat, pub limit: Option<i64>, pub skip_environment_check: bool, pub init_mode: InitMode, pub delete_without_confirm: bool, pub interface_view: InterfaceView, pub result_sort: ResultSort, pub disable_menu: bool,
}

Fields

mode: Modedebug: boolfuzzy: i16session_id: Stringmcfly_history: PathBufoutput_selection: Option<String>command: Stringdir: Stringresults: u16when_run: Option<i64>exit_code: Option<i32>old_dir: Option<String>append_to_histfile: boolrefresh_training_cache: boollightmode: boolkey_scheme: KeySchemehistory_format: HistoryFormatlimit: Option<i64>skip_environment_check: boolinit_mode: InitModedelete_without_confirm: boolinterface_view: InterfaceViewresult_sort: ResultSortdisable_menu: bool

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.