Trait ResourceDelete
gotham_restful
pub trait ResourceDelete<ID, R: ResourceResult> where ID: DeserializeOwned + Clone + RefUnwindSafe + Send + Sync + 'static, { fn delete(state: &mut State, id: ID) -> R; }
Handle a DELETE request on the Resource with an id.
fn delete(state: &mut State, id: ID) -> R