pub struct DiffReport {Show 13 fields
pub tool: &'static str,
pub version: &'static str,
pub mode: &'static str,
pub before: String,
pub after: String,
pub before_root: Option<String>,
pub after_root: Option<String>,
pub before_mode: Option<String>,
pub after_mode: Option<String>,
pub summary: DiffSummary,
pub added: Vec<DiffInputFile>,
pub removed: Vec<DiffInputFile>,
pub changed: Vec<ChangedEntry>,
}Expand description
The diff output document (a new document type, not the run report).
Fields§
§tool: &'static str§version: &'static str§mode: &'static str§before: String§after: String§before_root: Option<String>§after_root: Option<String>§before_mode: Option<String>§after_mode: Option<String>§summary: DiffSummary§added: Vec<DiffInputFile>§removed: Vec<DiffInputFile>§changed: Vec<ChangedEntry>Trait Implementations§
Source§impl Debug for DiffReport
impl Debug for DiffReport
Auto Trait Implementations§
impl Forget for DiffReport
impl Freeze for DiffReport
impl Move 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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