pub struct DriftFinding {
pub operation: &'static str,
pub entity_kind: EntityKind,
pub entity_name: String,
pub property: &'static str,
pub expected: String,
pub observed: String,
pub note: Option<String>,
}Expand description
One actionable entity-property difference reported by semantic drift.
Fields§
§operation: &'static strRepair operation category associated with this difference.
entity_kind: EntityKindGaman entity kind containing the differing property.
entity_name: StringStable qualified identity used to locate the entity.
property: &'static strRegistered property that failed semantic comparison.
expected: StringValue expected from replayed migration state.
observed: StringValue observed from live database inspection.
note: Option<String>Optional explanation of comparison limits or canonicalization.
Trait Implementations§
Source§impl Clone for DriftFinding
impl Clone for DriftFinding
Source§fn clone(&self) -> DriftFinding
fn clone(&self) -> DriftFinding
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 DriftFinding
impl Debug for DriftFinding
impl Eq for DriftFinding
Source§impl PartialEq for DriftFinding
impl PartialEq for DriftFinding
impl StructuralPartialEq for DriftFinding
Auto Trait Implementations§
impl Freeze for DriftFinding
impl RefUnwindSafe for DriftFinding
impl Send for DriftFinding
impl Sync for DriftFinding
impl Unpin for DriftFinding
impl UnsafeUnpin for DriftFinding
impl UnwindSafe for DriftFinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.