fn changed_fields( before: &JobDefinition, sent: &Value, ) -> Result<Map<String, Value>, String>
The fields of sent that differ from the stored before, without the ones srv sets.
sent
before