Enum nginx_config::ast::ServerName [−][src]
pub enum ServerName {
Exact(String),
Suffix(String),
StarSuffix(String),
StarPrefix(String),
Regex(String),
}Variants
Exact(String)Suffix(String)StarSuffix(String)StarPrefix(String)Regex(String)
Trait Implementations
impl Debug for ServerName[src]
impl Debug for ServerNamefn 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 ServerName[src]
impl Clone for ServerNamefn clone(&self) -> ServerName[src]
fn clone(&self) -> ServerNameReturns 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 ServerName[src]
impl PartialEq for ServerNamefn eq(&self, other: &ServerName) -> bool[src]
fn eq(&self, other: &ServerName) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ServerName) -> bool[src]
fn ne(&self, other: &ServerName) -> boolThis method tests for !=.
impl Eq for ServerName[src]
impl Eq for ServerNameAuto Trait Implementations
impl Send for ServerName
impl Send for ServerNameimpl Sync for ServerName
impl Sync for ServerName