pub trait PatchField<F> {
// Required method
fn apply_to(self, field: &mut F);
}Expand description
A field of a merge patch, applied to the model’s field of type F.
Option<P> replaces the field when it holds a value; Patch<P> also
clears an Option field when null. P converts into the field’s type.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".