#[non_exhaustive]pub struct ReportSide { /* private fields */ }Expand description
What a comparison reads from one report.
Built from a ProfileReport, or from a flat summary (the document
ProfileReport::summary_json writes, and the one Python’s to_dict()
and pre-0.12 save() produced). A flat summary never becomes a
ProfileReport, because it cannot acquire provenance it never recorded,
but it carries everything a comparison reads, and what it did not record
is read as unrecorded.
Implementations§
Source§impl ReportSide
impl ReportSide
Sourcepub fn from_report(report: &ProfileReport) -> Self
pub fn from_report(report: &ProfileReport) -> Self
Read a profiled or loaded report.
Sourcepub fn from_summary_json(text: &str) -> Result<Self>
pub fn from_summary_json(text: &str) -> Result<Self>
Read a flat summary document.
A field an older release did not write reads as unrecorded: scan
coverage it does not state is coverage_unrecorded, never complete.
Fails when the document lacks source or columns, or holds a
field of the wrong type.
Trait Implementations§
Source§impl Clone for ReportSide
impl Clone for ReportSide
Source§impl Debug for ReportSide
impl Debug for ReportSide
Source§impl PartialEq for ReportSide
impl PartialEq for ReportSide
impl StructuralPartialEq for ReportSide
Auto Trait Implementations§
impl Freeze for ReportSide
impl RefUnwindSafe for ReportSide
impl Send for ReportSide
impl Sync for ReportSide
impl Unpin for ReportSide
impl UnsafeUnpin for ReportSide
impl UnwindSafe for ReportSide
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