pub struct EmptyConfig {}

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Should return the file name of the configuration file: Read more
Should return the folder name of the configuration file with respect to the %user_directory% environmental variable: Read more
The decoding function, will return a deserialized form of a the Settings Rust Struct. Read more
Returns the seralized form of the passed in object. Because this uses Serde.rs the object must have the serde::de::Serialize trait, and must also implement the settingsfile::SupportedType trait. Read more
Option to allow for an extension separate from filename, you can always put the extension in the filename if you perfer. Read more
Option to allow for a different filename for a local file. only used with ShadowSetting. Functions the same as filename, does not include an extension. Read more
Option to allow for an extension when using a different local file name. only used with ShadowSetting. Doesn’t do anything if local_filename is None Read more
Will give the correct path depending on what was implemented in the configuration Read more
Will give the correct path including file depending on what was implemented in the configuration Read more
Returns the complete file name with or without the extension (if defined) Read more
Assembles the local file name, will return None if local_filename is None Read more
Returns the path where the local configuration would be. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.