Enum nginx_config::ast::IfCondition [−][src]
pub enum IfCondition {
NonEmpty(Value),
Eq(Value, String),
Neq(Value, String),
RegEq(Value, String, bool),
RegNeq(Value, String, bool),
Exists(Value),
NotExists(Value),
FileExists(Value),
FileNotExists(Value),
DirExists(Value),
DirNotExists(Value),
Executable(Value),
NotExecutable(Value),
}Variants
NonEmpty(Value)Eq(Value, String)Neq(Value, String)RegEq(Value, String, bool)RegNeq(Value, String, bool)Exists(Value)NotExists(Value)FileExists(Value)FileNotExists(Value)DirExists(Value)DirNotExists(Value)Executable(Value)NotExecutable(Value)
Trait Implementations
impl Debug for IfCondition[src]
impl Debug for IfConditionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for IfCondition[src]
impl Clone for IfConditionfn clone(&self) -> IfCondition[src]
fn clone(&self) -> IfConditionReturns 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 IfCondition[src]
impl PartialEq for IfConditionfn eq(&self, other: &IfCondition) -> bool[src]
fn eq(&self, other: &IfCondition) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &IfCondition) -> bool[src]
fn ne(&self, other: &IfCondition) -> boolThis method tests for !=.
impl Eq for IfCondition[src]
impl Eq for IfConditionAuto Trait Implementations
impl Send for IfCondition
impl Send for IfConditionimpl Sync for IfCondition
impl Sync for IfCondition