DeleteWithRequest

Trait DeleteWithRequest 

Source
pub trait DeleteWithRequest<TReq>
where TReq: Serialize + Sync + Send, Self: WithApiClient + WithBasePath + Sync,
{ // Provided method fn delete(&self, req: &TReq) -> impl Future<Output = Result<()>> + Send { ... } }
Expand description

Trait for resource types that can be deleted with a more complex request.

Provided Methods§

Source

fn delete(&self, req: &TReq) -> impl Future<Output = Result<()>> + Send

Delete resources using req.

§Arguments
  • req - Request describing items to delete.

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.

Implementors§