pub trait UpsertCollection<TUpsert, TResponse> {
// Provided method
fn upsert(
&self,
collection: &TUpsert,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
where TUpsert: Serialize + Sync + Send,
TResponse: Serialize + DeserializeOwned + Sync + Send,
Self: WithApiClient + WithBasePath + Sync { ... }
}Expand description
Trait for resource types that support upserts directly.
Provided Methods§
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.