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 ServerName
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 ServerName
[src]
impl Clone for ServerName
fn clone(&self) -> ServerName
[src]
fn clone(&self) -> ServerName
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 ServerName
[src]
impl PartialEq for ServerName
fn eq(&self, other: &ServerName) -> bool
[src]
fn eq(&self, other: &ServerName) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for ServerName
[src]
impl Eq for ServerName
Auto Trait Implementations
impl Send for ServerName
impl Send for ServerName
impl Sync for ServerName
impl Sync for ServerName