pub struct Request {
pub protocol_version: String,
pub license: License,
pub project_root: String,
pub coverage_sources: Vec<CoverageSource>,
pub static_findings: StaticFindings,
pub options: Options,
}Expand description
Sent by the public CLI to the sidecar via stdin.
Fields§
§protocol_version: StringSemver string of the protocol version this request targets.
license: LicenseLicense material the sidecar validates before running coverage analysis.
project_root: StringAbsolute path of the project root under analysis.
coverage_sources: Vec<CoverageSource>One or more coverage artifacts the sidecar should ingest.
static_findings: StaticFindingsStatic analysis output the public CLI already produced for this run.
options: OptionsOptional runtime knobs; all fields default to forward-compatible values.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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