Enum conjure_http::server::PathSegment
source · pub enum PathSegment {
Literal(Cow<'static, str>),
Parameter {
name: Cow<'static, str>,
regex: Option<Cow<'static, str>>,
},
}Expand description
One segment of an endpoint URI template.
Variants§
Trait Implementations§
source§impl Clone for PathSegment
impl Clone for PathSegment
source§fn clone(&self) -> PathSegment
fn clone(&self) -> PathSegment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more