pub struct DiffReport {
pub plan_name: String,
pub baseline_url: String,
pub target_url: String,
pub total_endpoints: usize,
pub identical: usize,
pub different: usize,
pub fields_added: usize,
pub fields_removed: usize,
pub fields_modified: usize,
pub duration_secs: f64,
pub diffs: Vec<DiffEntry>,
}Expand description
Results of a diff run.
Fields§
§plan_name: StringPlan name.
baseline_url: StringBaseline URL.
target_url: StringTarget URL.
total_endpoints: usizeTotal endpoints compared.
identical: usizeEndpoints with identical responses.
different: usizeEndpoints with differences.
fields_added: usizeFields present in target but not baseline.
fields_removed: usizeFields present in baseline but not target.
fields_modified: usizeFields with different values.
duration_secs: f64Wall-clock duration in seconds.
diffs: Vec<DiffEntry>List of diffs found.
Trait Implementations§
Source§impl Clone for DiffReport
impl Clone for DiffReport
Source§fn clone(&self) -> DiffReport
fn clone(&self) -> DiffReport
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 DiffReport
impl Debug for DiffReport
Source§impl<'de> Deserialize<'de> for DiffReport
impl<'de> Deserialize<'de> for DiffReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DiffReport
impl Display for DiffReport
Auto Trait Implementations§
impl Freeze for DiffReport
impl RefUnwindSafe for DiffReport
impl Send for DiffReport
impl Sync for DiffReport
impl Unpin for DiffReport
impl UnsafeUnpin for DiffReport
impl UnwindSafe for DiffReport
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