pub struct Comparison {
pub version: u32,
pub compatible: bool,
pub before_revision: String,
pub after_revision: String,
pub after_currentness: Currentness,
pub differences: Vec<Difference>,
pub notes: Vec<String>,
}Expand description
Comparison of explicit completed evidence; not a new proof of current inputs.
Fields§
§version: u32Independent contract version.
compatible: boolTrue only when recorded contexts, modes and requested scopes agree.
before_revision: StringEarlier source revision.
after_revision: StringLater source revision.
after_currentness: CurrentnessLater evidence currentness, never assumed from terminal lifecycle.
differences: Vec<Difference>Differences and unchanged identities.
notes: Vec<String>Why comparisons cannot be interpreted as proof regressions.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§impl Debug for Comparison
impl Debug for Comparison
Source§impl<'de> Deserialize<'de> for Comparison
impl<'de> Deserialize<'de> for Comparison
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 Comparison
impl PartialEq for Comparison
Source§impl Serialize for Comparison
impl Serialize for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl Forget for Comparison
impl Freeze for Comparisonwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Difference>: Freeze,
PhantomData<String>: Freeze,
impl Move for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparisonwhere
RawVecInner: Send,
impl Sync for Comparisonwhere
RawVecInner: Sync,
impl Unpin for Comparison
impl UnsafeUnpin for Comparisonwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Difference>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Comparisonwhere
RawVecInner: 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