pub struct ZoneComparison {
pub zone: String,
pub kind: ComparisonKind,
pub differences: Vec<Difference>,
pub byte_identical: bool,
}Expand description
Outcome of comparing our output against reference zic for a single zone.
Fields§
§zone: String§kind: ComparisonKind§differences: Vec<Difference>Differences found; empty means the two agree under this comparison kind.
byte_identical: boolWhether the two files were byte-identical (a stricter, informational signal).
Implementations§
Trait Implementations§
Source§impl Clone for ZoneComparison
impl Clone for ZoneComparison
Source§fn clone(&self) -> ZoneComparison
fn clone(&self) -> ZoneComparison
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 moreAuto Trait Implementations§
impl Freeze for ZoneComparison
impl RefUnwindSafe for ZoneComparison
impl Send for ZoneComparison
impl Sync for ZoneComparison
impl Unpin for ZoneComparison
impl UnsafeUnpin for ZoneComparison
impl UnwindSafe for ZoneComparison
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