Struct bitcoin_settings::Settings
source · pub struct Settings {
pub forced_settings: HashMap<String, SettingsValue>,
pub command_line_options: HashMap<String, Vec<SettingsValue>>,
pub rw_settings: HashMap<String, SettingsValue>,
pub ro_config: HashMap<String, HashMap<String, Vec<SettingsValue>>>,
}Expand description
| Stored settings. This struct combines settings | from the command line, a read-only | configuration file, and a read-write runtime | settings file.
Fields§
§forced_settings: HashMap<String, SettingsValue>| Map of setting name to forced setting | value. |
command_line_options: HashMap<String, Vec<SettingsValue>>| Map of setting name to list of command | line values. |
rw_settings: HashMap<String, SettingsValue>| Map of setting name to read-write file | setting value. |
ro_config: HashMap<String, HashMap<String, Vec<SettingsValue>>>| Map of config section name and setting | name to list of config file values. |
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more