Enum nginx_config::ast::Item
[−]
[src]
pub enum Item { Daemon(bool), MasterProcess(bool), WorkerProcesses(WorkerProcesses), Http(Http), Server(Server), Location(Location), Listen(Listen), ProxyPass(Value), ProxySetHeader { field: Value, value: Value, }, Gzip(bool), GzipStatic(GzipStatic), GzipProxied(Vec<GzipProxied>), AddHeader(AddHeader), Root(Value), Alias(Value), }
Variants
Daemon(bool)
MasterProcess(bool)
WorkerProcesses(WorkerProcesses)
Http(Http)
Server(Server)
Location(Location)
Listen(Listen)
ProxyPass(Value)
ProxySetHeader
Fields of ProxySetHeader
field: Value | |
value: Value |
Gzip(bool)
GzipStatic(GzipStatic)
GzipProxied(Vec<GzipProxied>)
AddHeader(AddHeader)
Root(Value)
Alias(Value)
Trait Implementations
impl Debug for Item
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Item
[src]
fn clone(&self) -> Item
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Item
[src]
fn eq(&self, __arg_0: &Item) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Item) -> bool
[src]
This method tests for !=
.