[][src]Struct rocket::response::status::NoContent

pub struct NoContent;

Sets the status of the response to 204 (No Content).

Example

use rocket::response::status;

let response = status::NoContent;

Trait Implementations

impl<'r> Responder<'r> for NoContent
[src]

Sets the status code of the response to 204 No Content. The body of the response will be empty.

impl PartialEq<NoContent> for NoContent
[src]

This method tests for !=.

impl Clone for NoContent
[src]

Performs copy-assignment from source. Read more

impl Debug for NoContent
[src]

Auto Trait Implementations

impl Send for NoContent

impl Sync for NoContent

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.