pub struct BudgetVerdict {
pub contract_name: String,
pub contract_sha256: String,
pub mode: Mode,
pub gate_performance: bool,
pub reference: Subject,
pub candidate: Subject,
pub cells: BTreeMap<String, BTreeMap<Metric, MetricVerdict>>,
pub rejections: Vec<Rejection>,
pub passed: bool,
}Expand description
The machine-readable verdict over one record.
Fields§
§contract_name: StringThe contract’s name.
contract_sha256: StringThe contract’s digest.
mode: ModeThe comparison mode.
gate_performance: boolWhether this mode’s material regressions reject.
reference: SubjectThe reference side.
candidate: SubjectThe candidate side.
cells: BTreeMap<String, BTreeMap<Metric, MetricVerdict>>Per cell, per metric. A cell with a rejected trial has no entry.
rejections: Vec<Rejection>Everything that rejects the comparison.
passed: boolTrue only when there is no rejection.
Trait Implementations§
Source§impl Clone for BudgetVerdict
impl Clone for BudgetVerdict
Source§fn clone(&self) -> BudgetVerdict
fn clone(&self) -> BudgetVerdict
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 BudgetVerdict
impl Debug for BudgetVerdict
Source§impl<'de> Deserialize<'de> for BudgetVerdict
impl<'de> Deserialize<'de> for BudgetVerdict
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 PartialEq for BudgetVerdict
impl PartialEq for BudgetVerdict
Source§impl Serialize for BudgetVerdict
impl Serialize for BudgetVerdict
impl StructuralPartialEq for BudgetVerdict
Auto Trait Implementations§
impl Freeze for BudgetVerdict
impl RefUnwindSafe for BudgetVerdict
impl Send for BudgetVerdict
impl Sync for BudgetVerdict
impl Unpin for BudgetVerdict
impl UnsafeUnpin for BudgetVerdict
impl UnwindSafe for BudgetVerdict
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