pub trait ResourceDelete: ResourceMethod {
    type ID: DeserializeOwned + Clone + RefUnwindSafe + Send + Sync + 'static;
    fn delete(state: &mut State, id: Self::ID) -> Self::Res;
}
Expand description

Handle a DELETE request on the Resource with an id.

Associated Types

Required methods

Implementors