Enum htrpc::types::PathSegment
[−]
[src]
pub enum PathSegment { Val(&'static str), Var, }
Path segment which is used for constructing EntryPoint
.
Variants
Val(&'static str)
Value (i.e., constant) segment.
Var
Variable (i.e., wildcard) segment.
Methods
impl PathSegment
[src]
Trait Implementations
impl Debug for PathSegment
[src]
impl Clone for PathSegment
[src]
fn clone(&self) -> PathSegment
[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 PathSegment
[src]
fn eq(&self, __arg_0: &PathSegment) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PathSegment) -> bool
[src]
This method tests for !=
.