pub struct SectionDiff {
pub section: String,
pub added: Vec<String>,
pub removed: Vec<String>,
pub changed: Vec<String>,
}Expand description
A change summary for one section of the contract.
Fields§
§section: StringSection name (e.g. “equations”, “proof_obligations”).
added: Vec<String>Items added in the new contract.
removed: Vec<String>Items removed from the old contract.
changed: Vec<String>Items present in both but changed.
Implementations§
Trait Implementations§
Source§impl Clone for SectionDiff
impl Clone for SectionDiff
Source§fn clone(&self) -> SectionDiff
fn clone(&self) -> SectionDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SectionDiff
impl RefUnwindSafe for SectionDiff
impl Send for SectionDiff
impl Sync for SectionDiff
impl Unpin for SectionDiff
impl UnsafeUnpin for SectionDiff
impl UnwindSafe for SectionDiff
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