Struct tower_web::response::ContentType [−][src]
pub struct ContentType<T> { /* fields omitted */ }Content type of a response
Instances of ContentType are returned by Serializer::lookup. This type
is not intended to be used by the end user besides using it as an argument
to Context::new.
Trait Implementations
impl<T: Debug> Debug for ContentType<T>[src]
impl<T: Debug> Debug for ContentType<T>Auto Trait Implementations
impl<T> Send for ContentType<T> where
T: Send,
impl<T> Send for ContentType<T> where
T: Send, impl<T> Sync for ContentType<T> where
T: Sync,
impl<T> Sync for ContentType<T> where
T: Sync,