#[non_exhaustive]pub struct SheetDiff {
pub old_sheet: Option<SheetRef>,
pub new_sheet: Option<SheetRef>,
pub change: SheetChange,
pub cell_diffs: Vec<CellDiff>,
pub compared_range: ComparedRange,
pub alignment_summary: Option<AlignmentSummary>,
pub diagnostics: Vec<Diagnostic>,
pub summary: SheetSummary,
}Expand description
The diff result for one logical sheet pair.
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.old_sheet: Option<SheetRef>The sheet on the old side (None for Added sheets).
new_sheet: Option<SheetRef>The sheet on the new side (None for Removed sheets).
change: SheetChange§cell_diffs: Vec<CellDiff>Cell diffs sorted by (row, col).
compared_range: ComparedRange§alignment_summary: Option<AlignmentSummary>Reserved until RFC-011.
diagnostics: Vec<Diagnostic>§summary: SheetSummaryTrait Implementations§
impl StructuralPartialEq for SheetDiff
Auto Trait Implementations§
impl Freeze for SheetDiff
impl RefUnwindSafe for SheetDiff
impl Send for SheetDiff
impl Sync for SheetDiff
impl Unpin for SheetDiff
impl UnsafeUnpin for SheetDiff
impl UnwindSafe for SheetDiff
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