pub struct CoverageSetupOutput {Show 13 fields
pub schema_version: CoverageSetupSchemaVersion,
pub framework_detected: CoverageSetupFramework,
pub package_manager: Option<CoverageSetupPackageManager>,
pub runtime_targets: Vec<CoverageSetupRuntimeTarget>,
pub members: Vec<CoverageSetupMember>,
pub config_written: Option<Value>,
pub commands: Vec<String>,
pub files_to_edit: Vec<CoverageSetupFileToEdit>,
pub snippets: Vec<CoverageSetupSnippet>,
pub dockerfile_snippet: Option<String>,
pub next_steps: Vec<String>,
pub warnings: Vec<String>,
pub meta: Option<Value>,
}Expand description
fallow coverage setup --json envelope.
Fields§
§schema_version: CoverageSetupSchemaVersionSetup output schema version; serialized as the string "1".
framework_detected: CoverageSetupFrameworkFramework detected at the project root.
package_manager: Option<CoverageSetupPackageManager>Package manager detected from lockfiles, when one was found.
runtime_targets: Vec<CoverageSetupRuntimeTarget>Runtimes the instrumentation must cover at the project root.
members: Vec<CoverageSetupMember>Per-member setup guidance for workspace projects.
config_written: Option<Value>Coverage config that was written to disk, when setup wrote one.
commands: Vec<String>Shell commands the user should run to complete setup.
files_to_edit: Vec<CoverageSetupFileToEdit>Files the user must edit by hand, with reasons.
snippets: Vec<CoverageSetupSnippet>Ready-to-paste code snippets for the files to edit.
dockerfile_snippet: Option<String>Dockerfile additions needed for containerized capture, when relevant.
next_steps: Vec<String>Ordered human-readable follow-up instructions.
warnings: Vec<String>Non-fatal problems encountered during detection.
meta: Option<Value>_meta block with docs and field definitions, when requested.
Trait Implementations§
Source§impl Clone for CoverageSetupOutput
impl Clone for CoverageSetupOutput
Source§impl Debug for CoverageSetupOutput
impl Debug for CoverageSetupOutput
Auto Trait Implementations§
impl Freeze for CoverageSetupOutput
impl RefUnwindSafe for CoverageSetupOutput
impl Send for CoverageSetupOutput
impl Sync for CoverageSetupOutput
impl Unpin for CoverageSetupOutput
impl UnsafeUnpin for CoverageSetupOutput
impl UnwindSafe for CoverageSetupOutput
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