Struct finchers::response::ContentType
[−]
[src]
pub struct ContentType<T>(_, _);
A wrapper of responders, to overwrite the value of ContentType
.
Methods
impl<T: Responder> ContentType<T>
[src]
fn new(content_type: ContentType, responder: T) -> Self
[src]
Create a new instance of ContentType