pub struct UrlPath;Implementations§
Source§impl UrlPath
impl UrlPath
pub fn extract_parts_from_pattern(_pattern: &str) -> Result<Vec<Part>, String>
pub fn is_matching(_path: &str, _pattern: &str) -> Result<bool, String>
pub fn extract( _path: &str, _pattern: &str, ) -> Result<HashMap<String, String>, String>
pub fn build( _params: HashMap<String, String>, _pattern: &str, ) -> Result<String, String>
Auto Trait Implementations§
impl Freeze for UrlPath
impl RefUnwindSafe for UrlPath
impl Send for UrlPath
impl Sync for UrlPath
impl Unpin for UrlPath
impl UnsafeUnpin for UrlPath
impl UnwindSafe for UrlPath
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