pub struct CrapDeltaRowData {
pub status: CrapDeltaStatus,
pub threshold: u32,
pub delta_count: i32,
pub delta_text: String,
pub failure_detail_md: Option<String>,
}Expand description
Language-agnostic record carrying the structured signal a producer
projects into a Row::CrapDelta JSON object. Lives in
domain/summary.rs (pure-domain — no syn, no LCOV). The
reporter at adapters/reporters/scorecard_row.rs wires this
record into the locked wire shape (see
crates/crap4rs/tests/fixtures/scorecard/schema.json).
Fields§
§status: CrapDeltaStatus§threshold: u32§delta_count: i32§delta_text: String§failure_detail_md: Option<String>Trait Implementations§
Source§impl Clone for CrapDeltaRowData
impl Clone for CrapDeltaRowData
Source§fn clone(&self) -> CrapDeltaRowData
fn clone(&self) -> CrapDeltaRowData
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 CrapDeltaRowData
impl Debug for CrapDeltaRowData
Auto Trait Implementations§
impl Freeze for CrapDeltaRowData
impl RefUnwindSafe for CrapDeltaRowData
impl Send for CrapDeltaRowData
impl Sync for CrapDeltaRowData
impl Unpin for CrapDeltaRowData
impl UnsafeUnpin for CrapDeltaRowData
impl UnwindSafe for CrapDeltaRowData
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