pub struct Drift {
pub findings: Vec<Finding>,
pub policies: usize,
pub functions: usize,
pub triggers: usize,
}Expand description
Every difference between the live database and the spec’s SQL, and how many objects match.
Fields§
§findings: Vec<Finding>The differences: tables, policies, functions, then triggers, each in the order the SQL creates them, then orphans and stale allow entries.
policies: usizePolicies whose live definition is the generated one.
functions: usizeFunctions whose live definition is the generated one.
triggers: usizeTriggers whose live definition is the generated one.
Trait Implementations§
impl Eq for Drift
impl StructuralPartialEq for Drift
Auto Trait Implementations§
impl Forget for Drift
impl Freeze for Drift
impl Move for Drift
impl RefUnwindSafe for Drift
impl Send for Driftwhere
RawVecInner: Send,
impl Sync for Driftwhere
RawVecInner: Sync,
impl Unpin for Drift
impl UnsafeUnpin for Drift
impl UnwindSafe for Driftwhere
RawVecInner: UnwindSafe,
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