pub struct PathTemplate {
pub segments: Vec<Segment>,
pub verb: Option<String>,
pub template: String,
}Expand description
Represents a parsed HTTP path template.
Fields§
§segments: Vec<Segment>§verb: Option<String>§template: StringTrait Implementations§
Source§impl Clone for PathTemplate
impl Clone for PathTemplate
Source§fn clone(&self) -> PathTemplate
fn clone(&self) -> PathTemplate
Returns a duplicate 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 moreSource§impl Debug for PathTemplate
impl Debug for PathTemplate
Source§impl PartialEq for PathTemplate
impl PartialEq for PathTemplate
impl StructuralPartialEq for PathTemplate
Auto Trait Implementations§
impl Freeze for PathTemplate
impl RefUnwindSafe for PathTemplate
impl Send for PathTemplate
impl Sync for PathTemplate
impl Unpin for PathTemplate
impl UnwindSafe for PathTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more