pub struct PathSegments(pub Vec<String>);Expand description
Extracts all path segments as a vector.
Tuple Fields§
§0: Vec<String>Trait Implementations§
Source§impl Clone for PathSegments
impl Clone for PathSegments
Source§fn clone(&self) -> PathSegments
fn clone(&self) -> PathSegments
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 PathSegments
impl Debug for PathSegments
Source§impl FromRequest for PathSegments
impl FromRequest for PathSegments
Source§type Error = ExtractError
type Error = ExtractError
The error type returned when extraction fails.
Auto Trait Implementations§
impl Freeze for PathSegments
impl RefUnwindSafe for PathSegments
impl Send for PathSegments
impl Sync for PathSegments
impl Unpin for PathSegments
impl UnwindSafe for PathSegments
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