pub struct DiffDocument {
pub schema_version: String,
pub old_fingerprint: String,
pub new_fingerprint: String,
pub summary: DiffSummary,
pub changes: Vec<SemanticChange>,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§schema_version: String§old_fingerprint: String§new_fingerprint: String§summary: DiffSummary§changes: Vec<SemanticChange>§diagnostics: Vec<Diagnostic>Implementations§
Trait Implementations§
Source§impl Clone for DiffDocument
impl Clone for DiffDocument
Source§fn clone(&self) -> DiffDocument
fn clone(&self) -> DiffDocument
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 DiffDocument
impl Debug for DiffDocument
Source§impl<'de> Deserialize<'de> for DiffDocument
impl<'de> Deserialize<'de> for DiffDocument
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 PartialEq for DiffDocument
impl PartialEq for DiffDocument
Source§fn eq(&self, other: &DiffDocument) -> bool
fn eq(&self, other: &DiffDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiffDocument
impl Serialize for DiffDocument
impl StructuralPartialEq for DiffDocument
Auto Trait Implementations§
impl Freeze for DiffDocument
impl RefUnwindSafe for DiffDocument
impl Send for DiffDocument
impl Sync for DiffDocument
impl Unpin for DiffDocument
impl UnsafeUnpin for DiffDocument
impl UnwindSafe for DiffDocument
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