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 IfCondition
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for IfCondition
[src]
impl Clone for IfCondition
fn clone(&self) -> IfCondition
[src]
fn clone(&self) -> IfCondition
Returns 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 IfCondition
fn eq(&self, other: &IfCondition) -> bool
[src]
fn eq(&self, other: &IfCondition) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for IfCondition
[src]
impl Eq for IfCondition
Auto Trait Implementations
impl Send for IfCondition
impl Send for IfCondition
impl Sync for IfCondition
impl Sync for IfCondition