pub struct TestScenario {
pub description: String,
pub rationale: String,
pub confidence: f64,
pub related_entity: String,
pub explanation_chain: ExplanationChain,
}Expand description
A single test scenario recommendation.
Fields§
§description: StringWhat to test (human-readable)
rationale: StringWhy this should be tested
confidence: f64Confidence that this scenario is necessary
Which impacted entity this relates to
explanation_chain: ExplanationChainFull reasoning chain
Trait Implementations§
Source§impl Clone for TestScenario
impl Clone for TestScenario
Source§fn clone(&self) -> TestScenario
fn clone(&self) -> TestScenario
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 TestScenario
impl Debug for TestScenario
Source§impl<'de> Deserialize<'de> for TestScenario
impl<'de> Deserialize<'de> for TestScenario
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 TestScenario
impl RefUnwindSafe for TestScenario
impl Send for TestScenario
impl Sync for TestScenario
impl Unpin for TestScenario
impl UnsafeUnpin for TestScenario
impl UnwindSafe for TestScenario
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