Enum nginx_config::ast::IfCondition[][src]

pub enum IfCondition {
    NonEmpty(Value),
    Eq(ValueString),
    Neq(ValueString),
    RegEq(ValueStringbool),
    RegNeq(ValueStringbool),
    Exists(Value),
    NotExists(Value),
    FileExists(Value),
    FileNotExists(Value),
    DirExists(Value),
    DirNotExists(Value),
    Executable(Value),
    NotExecutable(Value),
}

Variants

Trait Implementations

impl Debug for IfCondition
[src]

Formats the value using the given formatter. Read more

impl Clone for IfCondition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl Send for IfCondition

impl Sync for IfCondition