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 Debug for Reset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Reset
[src]
impl Copy for Reset
impl Clone for Reset
[src]
impl Clone for Reset
fn clone(&self) -> Reset
[src]
fn clone(&self) -> Reset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Reset
[src]
impl PartialEq for Reset
fn eq(&self, other: &Reset) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Responder<'static> for Reset
[src]
impl Responder<'static> for Reset
Sets the status code of the response to 205 Reset Content. The body of the response will be empty.