pub struct ReportFinding {
pub check_id: String,
pub code: String,
pub severity: Severity,
pub message: String,
pub data: Option<FindingData>,
}Expand description
A single finding from the performance check.
Fields§
§check_id: StringUnique identifier for the check type (e.g., “perf.budget”, “perf.baseline”).
code: StringMachine-readable code for the finding (e.g., “metric_warn”, “metric_fail”, “missing”).
severity: SeveritySeverity level (warn or fail).
message: StringHuman-readable message describing the finding.
data: Option<FindingData>Structured data about the finding (present for metric findings, absent for structural findings).
Trait Implementations§
Source§impl Clone for ReportFinding
impl Clone for ReportFinding
Source§fn clone(&self) -> ReportFinding
fn clone(&self) -> ReportFinding
Returns a duplicate 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 moreSource§impl Debug for ReportFinding
impl Debug for ReportFinding
Source§impl<'de> Deserialize<'de> for ReportFinding
impl<'de> Deserialize<'de> for ReportFinding
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
Source§impl JsonSchema for ReportFinding
impl JsonSchema for ReportFinding
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReportFinding
impl PartialEq for ReportFinding
Source§impl Serialize for ReportFinding
impl Serialize for ReportFinding
impl StructuralPartialEq for ReportFinding
Auto Trait Implementations§
impl Freeze for ReportFinding
impl RefUnwindSafe for ReportFinding
impl Send for ReportFinding
impl Sync for ReportFinding
impl Unpin for ReportFinding
impl UnsafeUnpin for ReportFinding
impl UnwindSafe for ReportFinding
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