pub trait ResourceUpdate<ID, Body: RequestBody, R: ResourceResult> where
    ID: DeserializeOwned + Clone + RefUnwindSafe + Send + Sync + 'static, 
{ fn update(state: &mut State, id: ID, body: Body) -> R; }
Expand description

Handle a PUT request on the Resource with an id.

Required methods

Implementors