Enum pest_grammars::http::Rule
source · pub enum Rule {
Show 13 variants
EOI,
http,
request,
request_line,
uri,
method,
version,
whitespace,
headers,
header,
header_name,
header_value,
delimiter,
}
Expand description
Variants§
EOI
http
request
request_line
uri
method
version
whitespace
headers
header
header_name
header_value
delimiter
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl Parser<Rule> for HttpParser
impl Parser<Rule> for HttpParser
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
source§impl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more