Struct nginx_config::ast::Map [−][src]
pub struct Map {
pub variable: String,
pub expression: Value,
pub default: Option<Value>,
pub hostnames: bool,
pub volatile: bool,
pub includes: Vec<String>,
pub patterns: Vec<(MapPattern, Value)>,
}Fields
variable: String
expression: Value
default: Option<Value>
hostnames: bool
volatile: bool
includes: Vec<String>
patterns: Vec<(MapPattern, Value)>
Trait Implementations
impl Debug for Map[src]
impl Debug for Mapfn 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 Map[src]
impl Clone for Mapfn clone(&self) -> Map[src]
fn clone(&self) -> MapReturns 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 Map[src]
impl PartialEq for Mapfn eq(&self, other: &Map) -> bool[src]
fn eq(&self, other: &Map) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Map) -> bool[src]
fn ne(&self, other: &Map) -> boolThis method tests for !=.
impl Eq for Map[src]
impl Eq for Map