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 Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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