pub struct TestPrediction {
pub test: TestId,
pub failure_probability: f64,
pub reason: String,
pub dependency_path: Vec<u64>,
}Expand description
A single test prediction.
Fields§
§test: TestIdThe test.
failure_probability: f64Probability of failure.
reason: StringWhy we think it might fail.
dependency_path: Vec<u64>Path from change to test.
Trait Implementations§
Source§impl Clone for TestPrediction
impl Clone for TestPrediction
Source§fn clone(&self) -> TestPrediction
fn clone(&self) -> TestPrediction
Returns a duplicate of the value. Read more
1.0.0 · 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 TestPrediction
impl Debug for TestPrediction
Source§impl<'de> Deserialize<'de> for TestPrediction
impl<'de> Deserialize<'de> for TestPrediction
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 TestPrediction
impl RefUnwindSafe for TestPrediction
impl Send for TestPrediction
impl Sync for TestPrediction
impl Unpin for TestPrediction
impl UnsafeUnpin for TestPrediction
impl UnwindSafe for TestPrediction
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