pub struct AggregateReceipt {Show 13 fields
pub schema: String,
pub tool: ToolInfo,
pub run: RunMeta,
pub benchmark: String,
pub policy: AggregationPolicy,
pub quorum: Option<f64>,
pub fail_if: Option<FailIfNOfM>,
pub weight_mode: AggregateWeightMode,
pub weights: BTreeMap<String, f64>,
pub variance_floor: Option<f64>,
pub inputs: Vec<AggregateInput>,
pub verdict: AggregateVerdict,
pub warnings: Vec<String>,
}Fields§
§schema: String§tool: ToolInfo§run: RunMeta§benchmark: String§policy: AggregationPolicy§quorum: Option<f64>§fail_if: Option<FailIfNOfM>§weight_mode: AggregateWeightMode§weights: BTreeMap<String, f64>§variance_floor: Option<f64>§inputs: Vec<AggregateInput>§verdict: AggregateVerdict§warnings: Vec<String>Trait Implementations§
Source§impl Clone for AggregateReceipt
impl Clone for AggregateReceipt
Source§fn clone(&self) -> AggregateReceipt
fn clone(&self) -> AggregateReceipt
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 AggregateReceipt
impl Debug for AggregateReceipt
Source§impl<'de> Deserialize<'de> for AggregateReceipt
impl<'de> Deserialize<'de> for AggregateReceipt
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 AggregateReceipt
impl JsonSchema for AggregateReceipt
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 AggregateReceipt
impl PartialEq for AggregateReceipt
Source§fn eq(&self, other: &AggregateReceipt) -> bool
fn eq(&self, other: &AggregateReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregateReceipt
impl Serialize for AggregateReceipt
impl StructuralPartialEq for AggregateReceipt
Auto Trait Implementations§
impl Freeze for AggregateReceipt
impl RefUnwindSafe for AggregateReceipt
impl Send for AggregateReceipt
impl Sync for AggregateReceipt
impl Unpin for AggregateReceipt
impl UnsafeUnpin for AggregateReceipt
impl UnwindSafe for AggregateReceipt
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