#[non_exhaustive]pub struct ComparisonEntry {
pub key: String,
pub left: Option<ComparedValue>,
pub right: Option<ComparedValue>,
pub kind: DifferenceKind,
}Expand description
One changed key and its effective values on both sides.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: StringThe declaration key.
left: Option<ComparedValue>The effective left declaration, or None when absent.
right: Option<ComparedValue>The effective right declaration, or None when absent.
kind: DifferenceKindThe primary difference category.
Trait Implementations§
Source§impl Clone for ComparisonEntry
impl Clone for ComparisonEntry
Source§impl Debug for ComparisonEntry
impl Debug for ComparisonEntry
impl Eq for ComparisonEntry
Source§impl PartialEq for ComparisonEntry
impl PartialEq for ComparisonEntry
impl StructuralPartialEq for ComparisonEntry
Auto Trait Implementations§
impl Freeze for ComparisonEntry
impl RefUnwindSafe for ComparisonEntry
impl Send for ComparisonEntry
impl Sync for ComparisonEntry
impl Unpin for ComparisonEntry
impl UnsafeUnpin for ComparisonEntry
impl UnwindSafe for ComparisonEntry
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