PutRenderable

Trait PutRenderable 

Source
pub trait PutRenderable {
    type Put;

    // Provided method
    fn put(&mut self, _representation: &Self::Put) -> Result<(), Error> { ... }
}
Expand description

Subset of TypeRenderable that handles the PUT method.

Required Associated Types§

Source

type Put

Input type of the put() method, deserialized from the request payload.

Provided Methods§

Source

fn put(&mut self, _representation: &Self::Put) -> Result<(), Error>

Implementors§