Enum nginx_config::ast::Return[][src]

pub enum Return {
    Redirect {
        code: Option<u32>,
        url: Value,
    },
    Text {
        code: u32,
        text: Option<Value>,
    },
}

Variants

Fields of Redirect

Fields of Text

Trait Implementations

impl Debug for Return
[src]

Formats the value using the given formatter. Read more

impl Clone for Return
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Return
[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 Return
[src]

Auto Trait Implementations

impl Send for Return

impl Sync for Return