fn apply_diff_single_option<X: PartialEq + Debug>( name: &str, diff: StateFieldDiff<(), X>, single: &mut Option<X>, ) -> Result<(), String>