pub struct ScenarioReceipt {
pub schema: String,
pub tool: ToolInfo,
pub run: RunMeta,
pub scenario: ScenarioMeta,
pub baseline_ref: Option<CompareRef>,
pub current_ref: Option<CompareRef>,
pub components: Vec<ScenarioComponent>,
pub weighted_deltas: BTreeMap<String, Delta>,
pub verdict: Verdict,
pub warnings: Vec<String>,
}Expand description
A versioned receipt for weighted workload scenarios (perfgate.scenario.v1).
Fields§
§schema: String§tool: ToolInfo§run: RunMeta§scenario: ScenarioMeta§baseline_ref: Option<CompareRef>§current_ref: Option<CompareRef>§components: Vec<ScenarioComponent>§weighted_deltas: BTreeMap<String, Delta>§verdict: Verdict§warnings: Vec<String>Trait Implementations§
Source§impl Clone for ScenarioReceipt
impl Clone for ScenarioReceipt
Source§fn clone(&self) -> ScenarioReceipt
fn clone(&self) -> ScenarioReceipt
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 ScenarioReceipt
impl Debug for ScenarioReceipt
Source§impl<'de> Deserialize<'de> for ScenarioReceipt
impl<'de> Deserialize<'de> for ScenarioReceipt
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 ScenarioReceipt
impl JsonSchema for ScenarioReceipt
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 ScenarioReceipt
impl PartialEq for ScenarioReceipt
Source§fn eq(&self, other: &ScenarioReceipt) -> bool
fn eq(&self, other: &ScenarioReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScenarioReceipt
impl Serialize for ScenarioReceipt
impl StructuralPartialEq for ScenarioReceipt
Auto Trait Implementations§
impl Freeze for ScenarioReceipt
impl RefUnwindSafe for ScenarioReceipt
impl Send for ScenarioReceipt
impl Sync for ScenarioReceipt
impl Unpin for ScenarioReceipt
impl UnsafeUnpin for ScenarioReceipt
impl UnwindSafe for ScenarioReceipt
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