pub struct UpgradeVerdict {
pub compatible: bool,
pub breaking_changes: Vec<VerdictChange>,
pub non_breaking_changes: Vec<VerdictChange>,
}Expand description
An actionable upgrade-safety verdict derived from a SpecDiff.
compatible is false when any breaking change is present (removed
function, changed signature, removed event, changed event signature,
removed type, changed type definition). Additions are non-breaking and
recorded separately.
Fields§
§compatible: bool§breaking_changes: Vec<VerdictChange>§non_breaking_changes: Vec<VerdictChange>Implementations§
Trait Implementations§
Source§impl Clone for UpgradeVerdict
impl Clone for UpgradeVerdict
Source§impl Debug for UpgradeVerdict
impl Debug for UpgradeVerdict
Source§impl Default for UpgradeVerdict
impl Default for UpgradeVerdict
Source§impl<'de> Deserialize<'de> for UpgradeVerdict
impl<'de> Deserialize<'de> for UpgradeVerdict
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
impl Eq for UpgradeVerdict
Source§impl PartialEq for UpgradeVerdict
impl PartialEq for UpgradeVerdict
Source§impl Serialize for UpgradeVerdict
impl Serialize for UpgradeVerdict
impl StructuralPartialEq for UpgradeVerdict
Auto Trait Implementations§
impl Freeze for UpgradeVerdict
impl RefUnwindSafe for UpgradeVerdict
impl Send for UpgradeVerdict
impl Sync for UpgradeVerdict
impl Unpin for UpgradeVerdict
impl UnsafeUnpin for UpgradeVerdict
impl UnwindSafe for UpgradeVerdict
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.