Struct diskplan_config::ConfigFile
source · pub struct ConfigFile {
pub stems: HashMap<String, ConfigStem>,
pub schema_directory: Option<Utf8PathBuf>,
}
Expand description
Deserialization of diskplan.toml
Fields§
§stems: HashMap<String, ConfigStem>
A map of unique names to individual stem configurations
schema_directory: Option<Utf8PathBuf>
Schema directory (defaults to directory containing config)
Implementations§
Trait Implementations§
source§impl Clone for ConfigFile
impl Clone for ConfigFile
source§fn clone(&self) -> ConfigFile
fn clone(&self) -> ConfigFile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigFile
impl Debug for ConfigFile
source§impl Default for ConfigFile
impl Default for ConfigFile
source§fn default() -> ConfigFile
fn default() -> ConfigFile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigFile
impl<'de> Deserialize<'de> for ConfigFile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConfigFile
impl PartialEq for ConfigFile
source§fn eq(&self, other: &ConfigFile) -> bool
fn eq(&self, other: &ConfigFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ConfigFile
impl TryFrom<&str> for ConfigFile
impl Eq for ConfigFile
impl StructuralEq for ConfigFile
impl StructuralPartialEq for ConfigFile
Auto Trait Implementations§
impl RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnwindSafe for ConfigFile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more