pub trait ChangesetUpdatePairExt {
// Required method
fn is_changed(&self) -> bool;
}Expand description
Reads changeset UPDATE pair wire semantics.
Required Methods§
Sourcefn is_changed(&self) -> bool
fn is_changed(&self) -> bool
Whether the wire says this column’s value changed.
Undefined on both sides is a column outside the diff. Old-only is the row identity, which SQLite writes for every key column of every UPDATE, so it did not change. Both sides present changed exactly when the values differ, which is how an unchanged key column encoded by this crate reads. New without old carries no old image to compare, so it counts as changed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".