Enum nginx_config::ast::ErrorPageResponse[][src]

pub enum ErrorPageResponse {
    Target,
    Replace(u32),
    Redirect(u32),
    Keep,
}

Variants

The response code of a target uri

Replace with a specified value

Replace with a specified redirect (= with codes 301,302,303,307,308)

Keep original (bare =)

Trait Implementations

impl Debug for ErrorPageResponse
[src]

Formats the value using the given formatter. Read more

impl Clone for ErrorPageResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ErrorPageResponse
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ErrorPageResponse
[src]

Auto Trait Implementations