Enum nginx_config::ast::ErrorPageResponse
[−]
[src]
pub enum ErrorPageResponse { Target, Replace(u32), Redirect(u32), Keep, }
Variants
Target
The response code of a target uri
Replace(u32)
Replace with a specified value
Redirect(u32)
Replace with a specified redirect (=
with codes 301,302,303,307,308)
Keep
Keep original (bare =
)
Trait Implementations
impl Debug for ErrorPageResponse
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ErrorPageResponse
[src]
fn clone(&self) -> ErrorPageResponse
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ErrorPageResponse
[src]
fn eq(&self, __arg_0: &ErrorPageResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorPageResponse) -> bool
[src]
This method tests for !=
.