[][src]Struct rocket_include_handlebars::HandlebarsResponse

pub struct HandlebarsResponse {
    pub html: String,
    pub client_etag: EtagIfNoneMatch,
    pub etag: Option<EntityTag>,
    pub minify: bool,
}

Fields

html: String

The HTML code.

client_etag: EtagIfNoneMatch

The Etag from HTTP client (Etag-If-None-Match).

etag: Option<EntityTag>

The Etag computed from the HTML code or provided by a specific one.

minify: bool

If you don't want minify the rendered HTML, set minify to false.

Trait Implementations

impl<'a> Responder<'a> for HandlebarsResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input,