pub struct ContextDiff {
pub added: Vec<Name>,
pub removed: Vec<Name>,
}Expand description
A diff between two contexts.
Fields§
§added: Vec<Name>Entries present in the new context but not the old.
removed: Vec<Name>Entries present in the old context but not the new.
Implementations§
Trait Implementations§
Source§impl Clone for ContextDiff
impl Clone for ContextDiff
Source§fn clone(&self) -> ContextDiff
fn clone(&self) -> ContextDiff
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 moreSource§impl Debug for ContextDiff
impl Debug for ContextDiff
Source§impl Default for ContextDiff
impl Default for ContextDiff
Source§fn default() -> ContextDiff
fn default() -> ContextDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextDiff
impl RefUnwindSafe for ContextDiff
impl Send for ContextDiff
impl Sync for ContextDiff
impl Unpin for ContextDiff
impl UnsafeUnpin for ContextDiff
impl UnwindSafe for ContextDiff
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