Struct nginx_config::ast::Rewrite [−][src]
pub struct Rewrite { pub regex: String, pub replacement: Value, pub flag: Option<RewriteFlag>, }
Fields
regex: String
replacement: Value
flag: Option<RewriteFlag>
Trait Implementations
impl Debug for Rewrite
[src]
impl Debug for Rewrite
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 Rewrite
[src]
impl Clone for Rewrite
fn clone(&self) -> Rewrite
[src]
fn clone(&self) -> Rewrite
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 Rewrite
[src]
impl PartialEq for Rewrite
fn eq(&self, other: &Rewrite) -> bool
[src]
fn eq(&self, other: &Rewrite) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rewrite) -> bool
[src]
fn ne(&self, other: &Rewrite) -> bool
This method tests for !=
.
impl Eq for Rewrite
[src]
impl Eq for Rewrite