pub struct Response {
pub protocol_version: String,
pub verdict: ReportVerdict,
pub summary: Summary,
pub findings: Vec<Finding>,
pub hot_paths: Vec<HotPath>,
pub watermark: Option<Watermark>,
pub errors: Vec<DiagnosticMessage>,
pub warnings: Vec<DiagnosticMessage>,
}Expand description
Emitted by the sidecar to stdout.
Fields§
§protocol_version: StringSemver string of the protocol version the sidecar produced.
verdict: ReportVerdictTop-level report verdict summarizing the overall state of the run.
summary: SummaryAggregate statistics across the whole analysis.
findings: Vec<Finding>Per-function findings, one entry per observed or tracked function.
hot_paths: Vec<HotPath>Hot-path findings, populated only when Options::include_hot_paths
was set on the request. Defaults to empty.
watermark: Option<Watermark>Grace-period watermark the CLI should render in human output, if any.
errors: Vec<DiagnosticMessage>Non-fatal errors the sidecar emitted while processing the request.
warnings: Vec<DiagnosticMessage>Warnings the sidecar emitted while processing the request.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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 Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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