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

Handle a PUT request on the Resource with an id.

Associated Types

Required methods

Implementors