pub struct HydrateProjectConfiguration {
pub schema_def_paths: Vec<PathBuf>,
pub import_data_path: PathBuf,
pub build_data_path: PathBuf,
pub job_data_path: PathBuf,
pub id_based_asset_sources: Vec<NamePathPair>,
pub path_based_asset_sources: Vec<NamePathPair>,
pub source_file_locations: Vec<NamePathPair>,
pub schema_codegen_jobs: Vec<SchemaCodegenJobs>,
}
Fields§
§schema_def_paths: Vec<PathBuf>
§import_data_path: PathBuf
§build_data_path: PathBuf
§job_data_path: PathBuf
§id_based_asset_sources: Vec<NamePathPair>
§path_based_asset_sources: Vec<NamePathPair>
§source_file_locations: Vec<NamePathPair>
§schema_codegen_jobs: Vec<SchemaCodegenJobs>
Implementations§
Source§impl HydrateProjectConfiguration
impl HydrateProjectConfiguration
pub fn unverified_absolute_path(root_path: &Path, json_path: &str) -> PathBuf
pub fn parse_dir_path( root_path: &Path, json_path: &str, ) -> Result<PathBuf, Box<dyn Error>>
pub fn read_from_path(path: &Path) -> Result<Self, Box<dyn Error>>
pub fn locate_project_file( search_location: &Path, ) -> Result<Self, Box<dyn Error>>
Trait Implementations§
Source§impl Clone for HydrateProjectConfiguration
impl Clone for HydrateProjectConfiguration
Source§fn clone(&self) -> HydrateProjectConfiguration
fn clone(&self) -> HydrateProjectConfiguration
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 HydrateProjectConfiguration
impl Debug for HydrateProjectConfiguration
Auto Trait Implementations§
impl Freeze for HydrateProjectConfiguration
impl RefUnwindSafe for HydrateProjectConfiguration
impl Send for HydrateProjectConfiguration
impl Sync for HydrateProjectConfiguration
impl Unpin for HydrateProjectConfiguration
impl UnwindSafe for HydrateProjectConfiguration
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