Struct dev_scope::shared::prelude::FoundConfig
source · pub struct FoundConfig {
pub working_dir: PathBuf,
pub raw_config: Vec<ModelRoot<Value>>,
pub doctor_group: BTreeMap<String, DoctorGroup>,
pub known_error: BTreeMap<String, KnownError>,
pub report_upload: BTreeMap<String, ReportUploadLocation>,
pub report_definition: Option<ReportDefinition>,
pub config_path: Vec<PathBuf>,
pub bin_path: String,
pub run_id: String,
}Fields§
§working_dir: PathBuf§raw_config: Vec<ModelRoot<Value>>§doctor_group: BTreeMap<String, DoctorGroup>§known_error: BTreeMap<String, KnownError>§report_upload: BTreeMap<String, ReportUploadLocation>§report_definition: Option<ReportDefinition>§config_path: Vec<PathBuf>§bin_path: String§run_id: StringImplementations§
source§impl FoundConfig
impl FoundConfig
pub fn empty(working_dir: PathBuf) -> Self
pub async fn new( config_options: &ConfigOptions, working_dir: PathBuf, config_path: Vec<PathBuf> ) -> Self
pub fn write_raw_config_to_disk(&self) -> Result<PathBuf>
pub fn get_report_definition(&self) -> ReportDefinition
Trait Implementations§
source§impl Clone for FoundConfig
impl Clone for FoundConfig
source§fn clone(&self) -> FoundConfig
fn clone(&self) -> FoundConfig
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 moreAuto Trait Implementations§
impl Freeze for FoundConfig
impl RefUnwindSafe for FoundConfig
impl Send for FoundConfig
impl Sync for FoundConfig
impl Unpin for FoundConfig
impl UnwindSafe for FoundConfig
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