#[non_exhaustive]pub struct DiffReport {
pub elinvar: u32,
pub verdict: Option<DiffVerdict>,
pub only_in_old: Option<Report>,
pub only_in_new: Option<Report>,
pub errors: Vec<Error>,
pub story: String,
}Expand description
The result of comparing two models (diff_models).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.elinvar: u32The schema version.
verdict: Option<DiffVerdict>How new differs from old, or None when there are errors.
only_in_old: Option<Report>A minimal case allowed by old and forbidden by new, if any.
only_in_new: Option<Report>A minimal case allowed by new and forbidden by old, if any.
errors: Vec<Error>Errors preventing the comparison (for example, mismatched signatures).
story: StringPlain-text summary made from the fields above.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DiffReport
impl Freeze for DiffReportwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, usize)>: Freeze,
*const ArcInner<Atoms> is !null: Freeze,
PhantomData<ArcInner<Atoms>>: Freeze,
PhantomData<(Relation, TupleSet)>: Freeze,
PhantomData<Instance>: Freeze,
PhantomData<StepReport>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<Error>: Freeze,
PhantomData<String>: Freeze,
impl Move for DiffReport
impl RefUnwindSafe for DiffReport
impl Send for DiffReport
impl Sync for DiffReport
impl Unpin for DiffReport
impl UnsafeUnpin for DiffReportwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
*const ArcInner<Atoms> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atoms>>: UnsafeUnpin,
PhantomData<(Relation, TupleSet)>: UnsafeUnpin,
PhantomData<Instance>: UnsafeUnpin,
PhantomData<StepReport>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DiffReportwhere
&'static str: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Atoms>: UnwindSafe,
Arc<Declared>: UnwindSafe,
BTreeMap<u64, SetValZST>: UnwindSafe,
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