pub(crate) struct ConfigFileRootDirs {
pub(super) code: Option<String>,
pub(super) data: Option<String>,
pub(super) docs: Option<String>,
pub(super) external: Option<String>,
pub(super) results: Option<String>,
}Expand description
The directories that should be placed in the root of a project folder.
Any directory that is listed as an empty string "" in the configuration
file is counted as an ignored directory that is not required
(i.e. will be stored as None in InstantiatedConfig).
Fields§
§code: Option<String>Top-level path for code.
data: Option<String>Top-level path for data.
docs: Option<String>Top-level path for documentation.
external: Option<String>Top-level path for vendored external code.
results: Option<String>Top-level path for results.
Trait Implementations§
Source§impl Clone for ConfigFileRootDirs
impl Clone for ConfigFileRootDirs
Source§fn clone(&self) -> ConfigFileRootDirs
fn clone(&self) -> ConfigFileRootDirs
Returns a duplicate 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 ConfigFileRootDirs
impl Debug for ConfigFileRootDirs
Source§impl Default for ConfigFileRootDirs
impl Default for ConfigFileRootDirs
Source§fn default() -> ConfigFileRootDirs
fn default() -> ConfigFileRootDirs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigFileRootDirs
impl<'de> Deserialize<'de> for ConfigFileRootDirs
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
Auto Trait Implementations§
impl Freeze for ConfigFileRootDirs
impl RefUnwindSafe for ConfigFileRootDirs
impl Send for ConfigFileRootDirs
impl Sync for ConfigFileRootDirs
impl Unpin for ConfigFileRootDirs
impl UnwindSafe for ConfigFileRootDirs
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