pub struct SchemaDiff {
pub added: Vec<String>,
pub removed: Vec<String>,
pub changed: Vec<FieldChange>,
}Expand description
Result of diffing two schemas by field name.
Fields§
§added: Vec<String>Field names present in schema B but absent from schema A.
removed: Vec<String>Field names present in schema A but absent from schema B.
changed: Vec<FieldChange>Fields present in both but with different type or required status.
Trait Implementations§
Source§impl Clone for SchemaDiff
impl Clone for SchemaDiff
Source§impl Debug for SchemaDiff
impl Debug for SchemaDiff
Source§impl PartialEq for SchemaDiff
impl PartialEq for SchemaDiff
impl StructuralPartialEq for SchemaDiff
Auto Trait Implementations§
impl Freeze for SchemaDiff
impl RefUnwindSafe for SchemaDiff
impl Send for SchemaDiff
impl Sync for SchemaDiff
impl Unpin for SchemaDiff
impl UnsafeUnpin for SchemaDiff
impl UnwindSafe for SchemaDiff
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