Struct rocket::response::status::Reset
[−]
[src]
pub struct Reset;
Sets the status of the response to 205 (Reset Content).
Example
use rocket::response::status; let response = status::Reset;
Trait Implementations
impl Debug for Reset
[src]
impl Copy for Reset
[src]
impl Clone for Reset
[src]
fn clone(&self) -> Reset
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 PartialEq for Reset
[src]
fn eq(&self, __arg_0: &Reset) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'r> Responder<'r> for Reset
[src]
Sets the status code of the response to 205 Reset Content. The body of the response will be empty.