pub struct ObservedCase {
pub context: ContextHealth,
pub facts: Vec<ObservedFact>,
pub diagnostics: Vec<ObservedDiagnostic>,
}Expand description
What an analyzer run actually produced for one case: its facts, diagnostics, and the context health it reports for the run.
Never upgraded – there is no function anywhere in this crate that
turns a Failed/Partial health into Complete.
Fields§
§context: ContextHealthThe context health this run reports.
facts: Vec<ObservedFact>The facts this run actually produced.
diagnostics: Vec<ObservedDiagnostic>The diagnostics this run actually emitted.
Trait Implementations§
Source§impl Clone for ObservedCase
impl Clone for ObservedCase
Source§impl Debug for ObservedCase
impl Debug for ObservedCase
Source§impl PartialEq for ObservedCase
impl PartialEq for ObservedCase
impl StructuralPartialEq for ObservedCase
Auto Trait Implementations§
impl Freeze for ObservedCase
impl RefUnwindSafe for ObservedCase
impl Send for ObservedCase
impl Sync for ObservedCase
impl Unpin for ObservedCase
impl UnsafeUnpin for ObservedCase
impl UnwindSafe for ObservedCase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more