pub struct ProjectConfig {
pub config: ResolvedConfig,
pub path: Option<PathBuf>,
pub workspaces: Vec<WorkspaceInfo>,
pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
pub workspace_discovery_ms: Option<f64>,
pub inputs: ConfigInputs,
pub inputs_before_resolve: ConfigInputsSnapshot,
}Expand description
Resolved project config plus the config file path when one was loaded.
Fields§
§config: ResolvedConfigFully resolved config for the project.
path: Option<PathBuf>Path of the loaded config file; None when defaults were used.
workspaces: Vec<WorkspaceInfo>Workspace metadata discovered under the project root.
workspace_diagnostics: Vec<WorkspaceDiagnostic>Diagnostics from workspace discovery (undeclared or invalid members).
workspace_discovery_ms: Option<f64>Workspace discovery wall time in milliseconds, when measured.
inputs: ConfigInputsThe plugin files, rule packs and autoDiscover directories that
config resolution read.
inputs_before_resolve: ConfigInputsSnapshotThe content of Self::inputs just before resolution read them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfig
impl UnwindSafe for ProjectConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more