pub struct Path<'a> { /* private fields */ }
Expand description
A web-based URL path.
§Validation
A path will never be empty and will always start with a ‘/’.
The path string can contain any US-ASCII letter, number, or punctuation char excluding ‘?’, and ‘#’ since these chars denote the end of the path in the URL.
Implementations§
Trait Implementations§
Source§impl<'a> Ord for Path<'a>
impl<'a> Ord for Path<'a>
Source§impl<'a> PartialOrd for Path<'a>
impl<'a> PartialOrd for Path<'a>
impl<'a> Copy for Path<'a>
impl<'a> Eq for Path<'a>
impl<'a> StructuralPartialEq for Path<'a>
Auto Trait Implementations§
impl<'a> Freeze for Path<'a>
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'a>
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