Skip to main content

diff

fn diff<T: HasFields>(before: Option<&T>, after: Option<&T>) -> Vec<FieldChange>
Expand description

The fields that differ between two states of one entity, None for a state where it doesn’t exist; both must be of the same kind.