pub struct ScenarioReport {
pub name: String,
pub status: Status,
pub measurement: Measurement,
pub call_tree: Option<CallNode>,
pub scopes: Vec<ScopeResult>,
pub policy_results: Vec<PolicyResult>,
pub diagnostics: Vec<Diagnostic>,
pub confidence: Confidence,
pub baseline_comparison: Option<BaselineComparison>,
pub parser_warnings: Vec<String>,
pub raw_logs: Option<Vec<String>>,
}Expand description
The full result for one scenario.
Fields§
§name: StringScenario name.
status: StatusHeadline status.
measurement: MeasurementQuantitative measurement.
call_tree: Option<CallNode>Reconstructed CPI call tree, if logs allowed it.
scopes: Vec<ScopeResult>Scope attribution results.
policy_results: Vec<PolicyResult>Budget policy results.
diagnostics: Vec<Diagnostic>Diagnostics raised for this scenario.
confidence: ConfidenceConfidence in this measurement.
baseline_comparison: Option<BaselineComparison>Baseline comparison, if a baseline was available.
parser_warnings: Vec<String>Non-fatal parser warnings.
raw_logs: Option<Vec<String>>Raw logs, included only when the caller opts in (they can be large).
Trait Implementations§
Source§impl Clone for ScenarioReport
impl Clone for ScenarioReport
Source§fn clone(&self) -> ScenarioReport
fn clone(&self) -> ScenarioReport
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 ScenarioReport
impl Debug for ScenarioReport
Source§impl<'de> Deserialize<'de> for ScenarioReport
impl<'de> Deserialize<'de> for ScenarioReport
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 ScenarioReport
impl PartialEq for ScenarioReport
Source§fn eq(&self, other: &ScenarioReport) -> bool
fn eq(&self, other: &ScenarioReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScenarioReport
impl Serialize for ScenarioReport
impl StructuralPartialEq for ScenarioReport
Auto Trait Implementations§
impl Freeze for ScenarioReport
impl RefUnwindSafe for ScenarioReport
impl Send for ScenarioReport
impl Sync for ScenarioReport
impl Unpin for ScenarioReport
impl UnsafeUnpin for ScenarioReport
impl UnwindSafe for ScenarioReport
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