Struct rocket::response::content::Html
[−]
[src]
pub struct Html<R>(pub R);
Override the Content-Type
of the response to
HTML
, or
text/html
.
Delagates the remainder of the response to the wrapped responder.
Trait Implementations
impl<R: Debug> Debug for Html<R>
[src]
impl<R: Clone> Clone for Html<R>
[src]
fn clone(&self) -> Html<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<R: PartialEq> PartialEq for Html<R>
[src]
fn eq(&self, __arg_0: &Html<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Html<R>) -> bool
This method tests for !=
.
impl<'r, R: Responder<'r>> Responder<'r> for Html<R>
[src]
Sets the Content-Type of the response then delegates the remainder of the response to the wrapped responder.