[][src]Trait gotham_restful::ResourceDelete

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.

Required methods

fn delete(state: &mut State, id: ID) -> R

Loading content...

Implementors

Loading content...