pub type ChangesetUpdatePair<S, B> = (Option<Value<S, B>>, Option<Value<S, B>>);Expand description
(old, new) values for one changeset UPDATE column, where None is the
undefined wire marker.
A changeset UPDATE carries the old image of the key columns and of the
changed columns, and the new image of the changed columns only, so the four
pair shapes are distinct. ChangesetUpdatePairExt::is_changed reads them.
Trait Implementations§
Source§impl<S, B> ChangesetUpdatePairExt for ChangesetUpdatePair<S, B>
impl<S, B> ChangesetUpdatePairExt for ChangesetUpdatePair<S, B>
Source§fn is_changed(&self) -> bool
fn is_changed(&self) -> bool
Whether the wire says this column’s value changed. Read more