pub struct RoundtripRecord {
pub index: usize,
pub identical: bool,
pub original: Vec<u8>,
pub reconstructed: Vec<u8>,
pub findings: Vec<Finding>,
}Expand description
The per-record outcome of a roundtrip proof.
Fields§
§index: usizeThe zero-based record index.
identical: boolTrue iff parse_into reproduced this record’s exact original bytes.
original: Vec<u8>The original record bytes.
reconstructed: Vec<u8>The bytes reconstructed from the Compact extract (empty if the row failed closed).
findings: Vec<Finding>Findings explaining a non-roundtrip (re-encode failures, or the canonical-form note below).
Trait Implementations§
Source§impl Clone for RoundtripRecord
impl Clone for RoundtripRecord
Source§fn clone(&self) -> RoundtripRecord
fn clone(&self) -> RoundtripRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoundtripRecord
impl Debug for RoundtripRecord
impl Eq for RoundtripRecord
Source§impl PartialEq for RoundtripRecord
impl PartialEq for RoundtripRecord
Source§fn eq(&self, other: &RoundtripRecord) -> bool
fn eq(&self, other: &RoundtripRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoundtripRecord
Auto Trait Implementations§
impl Freeze for RoundtripRecord
impl RefUnwindSafe for RoundtripRecord
impl Send for RoundtripRecord
impl Sync for RoundtripRecord
impl Unpin for RoundtripRecord
impl UnsafeUnpin for RoundtripRecord
impl UnwindSafe for RoundtripRecord
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