Skip to main content

changed

Function changed 

Source
pub fn changed(before: Option<&Value>, after: &Value, fields: &[&str]) -> bool
Expand description

Whether any of fields differs between the row before and the row after a write. A rule about the time of the write checks an update only when it changes what the rule reads, so a later edit of a row whose deadline has passed is not a break.