Skip to main content

exercises_field_changes

Function exercises_field_changes 

Source
fn exercises_field_changes<'a>(
    exercises: impl IntoIterator<Item = &'a ExerciseRecord>,
    before: impl Fn(Uuid) -> Option<&'a ExerciseRecord>,
) -> Vec<FieldChange>
Expand description

The field changes of exercises from their records in before; exercises without one there are new, so their fields are left out.