pub struct CellDiff {
pub column: String,
pub span: Span,
pub expected: String,
pub actual: String,
pub ok: bool,
pub expected_value: Option<Value>,
pub actual_value: Option<Value>,
pub formatted: bool,
}Expand description
The verdict for one comparison of one CELL — the atomic value a sensor checks
against the document (a table cell, a header-bound row’s cell, or a value
captured from a paragraph). column labels it. Expected vs actual, plus raw values and
whether a parameter-type format produced actual (inline-parameter path).
Fields§
§column: String§span: Span§expected: String§actual: String§ok: bool§expected_value: Option<Value>§actual_value: Option<Value>§formatted: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for CellDiff
Auto Trait Implementations§
impl Freeze for CellDiff
impl RefUnwindSafe for CellDiff
impl Send for CellDiff
impl Sync for CellDiff
impl Unpin for CellDiff
impl UnsafeUnpin for CellDiff
impl UnwindSafe for CellDiff
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more