pub struct SyncResult {
pub already_in_sync: bool,
pub diff: SchemaDiff,
pub changes_applied: usize,
pub execution_result: Option<ExecutionResult>,
}Expand description
Result of a sync operation
Fields§
§already_in_sync: boolWhether schemas were already in sync
diff: SchemaDiffDiff that was calculated
changes_applied: usizeNumber of changes applied (0 in dry-run mode)
execution_result: Option<ExecutionResult>Execution result (if execution was attempted)
Trait Implementations§
Source§impl Clone for SyncResult
impl Clone for SyncResult
Source§fn clone(&self) -> SyncResult
fn clone(&self) -> SyncResult
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 moreAuto Trait Implementations§
impl Freeze for SyncResult
impl RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl UnsafeUnpin for SyncResult
impl UnwindSafe for SyncResult
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