pub struct RequestTargetPath { /* private fields */ }Expand description
An absolute path as request target
§Warning
The path parser is pretty simple and basically follows two rules only:
- the path must either be a wildcard (
*) or must begin with a slash (/) - empty path components are ignored (i.e.
/or//etc. evaluate to[]and/test//pathor/test//path/etc. evaluate to["test", "path"])
Other potentially dangerous components like .. are treated like normal components and will not cause an error.
Implementations§
Trait Implementations§
Source§impl Clone for RequestTargetPath
impl Clone for RequestTargetPath
Source§fn clone(&self) -> RequestTargetPath
fn clone(&self) -> RequestTargetPath
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 RequestTargetPath
impl Debug for RequestTargetPath
Source§impl Default for RequestTargetPath
impl Default for RequestTargetPath
Source§fn default() -> RequestTargetPath
fn default() -> RequestTargetPath
Returns the “default value” for a type. Read more
Source§impl<T> FromIterator<T> for RequestTargetPath
impl<T> FromIterator<T> for RequestTargetPath
Source§fn from_iter<I: IntoIterator<Item = T>>(components: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(components: I) -> Self
Creates a value from an iterator. Read more
Source§impl IntoIterator for RequestTargetPath
impl IntoIterator for RequestTargetPath
Auto Trait Implementations§
impl Freeze for RequestTargetPath
impl RefUnwindSafe for RequestTargetPath
impl Send for RequestTargetPath
impl Sync for RequestTargetPath
impl Unpin for RequestTargetPath
impl UnwindSafe for RequestTargetPath
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