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 Rewritefn 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 Rewrite[src]
impl Clone for Rewritefn clone(&self) -> Rewrite[src]
fn clone(&self) -> RewriteReturns 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 Rewritefn eq(&self, other: &Rewrite) -> bool[src]
fn eq(&self, other: &Rewrite) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for Rewrite[src]
impl Eq for Rewrite