pub trait SetObject: JmapObject {
type Patch: Serialize + DeserializeOwned + Send + Sync + 'static;
}Expand description
Marker for object types that support set (create/update/destroy) operations.
Required Associated Types§
Sourcetype Patch: Serialize + DeserializeOwned + Send + Sync + 'static
type Patch: Serialize + DeserializeOwned + Send + Sync + 'static
The patch type for update operations.
Typically serde_json::Value for open-ended JSON Merge Patch, or a
typed struct if the backend wants structured patching.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.