pub struct DiffReport {
pub diffs: Vec<SchemaDiff>,
pub generated_sql: String,
pub has_changes: bool,
}Expand description
Report produced by the diff command.
Fields§
§diffs: Vec<SchemaDiff>List of individual schema differences found.
generated_sql: StringDDL SQL statements generated to reconcile the differences.
has_changes: boolWhether any differences were detected.
Trait Implementations§
Source§impl Debug for DiffReport
impl Debug 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