pub struct RepairContextReceipt {
pub schema: String,
pub benchmark: String,
pub verdict: Verdict,
pub status: VerdictStatus,
pub breached_metrics: Vec<RepairMetricBreach>,
pub compare_receipt_path: Option<String>,
pub report_path: String,
pub profile_path: Option<String>,
pub git: Option<RepairGitMetadata>,
pub changed_files: Option<ChangedFilesSummary>,
pub otel_span: Option<OtelSpanIdentifiers>,
pub recommended_next_commands: Vec<String>,
}Expand description
A machine-readable failure package for automated triage.
Fields§
§schema: StringSchema identifier, always “perfgate.repair_context.v1”.
benchmark: StringBenchmark name associated with the check.
verdict: VerdictVerdict from the check/compare workflow.
status: VerdictStatusOptional top-level status for quick routing.
breached_metrics: Vec<RepairMetricBreach>Breached metrics (warn/fail/skip due to policy) with thresholds and values.
compare_receipt_path: Option<String>Path to compare receipt when available.
report_path: StringPath to report artifact.
profile_path: Option<String>Optional profile artifact path.
git: Option<RepairGitMetadata>Git metadata (if available).
changed_files: Option<ChangedFilesSummary>Changed files summary from git working tree.
otel_span: Option<OtelSpanIdentifiers>Optional OTel span identifiers.
recommended_next_commands: Vec<String>Suggested next actions for humans/agents.
Trait Implementations§
Source§impl Clone for RepairContextReceipt
impl Clone for RepairContextReceipt
Source§fn clone(&self) -> RepairContextReceipt
fn clone(&self) -> RepairContextReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepairContextReceipt
impl Debug for RepairContextReceipt
Source§impl<'de> Deserialize<'de> for RepairContextReceipt
impl<'de> Deserialize<'de> for RepairContextReceipt
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 RepairContextReceipt
impl JsonSchema for RepairContextReceipt
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 RepairContextReceipt
impl PartialEq for RepairContextReceipt
Source§fn eq(&self, other: &RepairContextReceipt) -> bool
fn eq(&self, other: &RepairContextReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepairContextReceipt
impl Serialize for RepairContextReceipt
impl StructuralPartialEq for RepairContextReceipt
Auto Trait Implementations§
impl Freeze for RepairContextReceipt
impl RefUnwindSafe for RepairContextReceipt
impl Send for RepairContextReceipt
impl Sync for RepairContextReceipt
impl Unpin for RepairContextReceipt
impl UnsafeUnpin for RepairContextReceipt
impl UnwindSafe for RepairContextReceipt
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