Struct project_base_directory::Project
source · pub struct Project {
pub root_directory: Option<PathBuf>,
pub project_id: Option<String>,
pub config_home: Option<PathBuf>,
pub cache_home: Option<PathBuf>,
pub data_home: Option<PathBuf>,
}Fields§
§root_directory: Option<PathBuf>The absolute path to the project root directory. This is the top-level directory of the project.
project_id: Option<String>A unique identifier for the project.
config_home: Option<PathBuf>The directory for storing project specific configuration.
cache_home: Option<PathBuf>The directory for storing project specific cache data.
data_home: Option<PathBuf>The directory for storing project specific data files.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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