pub struct CompareReport {
pub protocol: String,
pub fingerprint_a: String,
pub fingerprint_b: String,
pub fingerprints_equal: bool,
pub strategy_a: StrategyVector,
pub strategy_b: StrategyVector,
pub targets: Vec<TargetDelta>,
pub diverged_count: usize,
pub same_count: usize,
pub verdict: SplitVerdict,
pub summary: String,
pub b_is_placeholder: bool,
}Expand description
Full compare report (publishable structure).
Fields§
§protocol: StringProtocol id when this is a Silicon Split compare.
fingerprint_a: StringFingerprint A.
fingerprint_b: StringFingerprint B (empty / placeholder marker when absent).
fingerprints_equal: boolWhether fingerprints are equal.
strategy_a: StrategyVectorStrategy vector A.
strategy_b: StrategyVectorStrategy vector B (may be empty placeholder).
targets: Vec<TargetDelta>Per-target deltas.
diverged_count: usizeCount of DIVERGED targets.
same_count: usizeCount of SAME targets.
verdict: SplitVerdictOverall Silicon Split verdict.
summary: StringHuman-readable summary (no fabricated %).
b_is_placeholder: boolTrue when B was a schema placeholder, not a measured profile.
Trait Implementations§
Source§impl Clone for CompareReport
impl Clone for CompareReport
Source§fn clone(&self) -> CompareReport
fn clone(&self) -> CompareReport
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 CompareReport
impl Debug for CompareReport
Source§impl<'de> Deserialize<'de> for CompareReport
impl<'de> Deserialize<'de> for CompareReport
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 CompareReport
impl RefUnwindSafe for CompareReport
impl Send for CompareReport
impl Sync for CompareReport
impl Unpin for CompareReport
impl UnsafeUnpin for CompareReport
impl UnwindSafe for CompareReport
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