pub struct RequestPathSegments { /* private fields */ }
Expand description
Holder for Request
URI path segments that have been split into individual segments.
Used internally by the Router
when traversing its internal Tree
.
Trait Implementations§
source§impl Clone for RequestPathSegments
impl Clone for RequestPathSegments
source§fn clone(&self) -> RequestPathSegments
fn clone(&self) -> RequestPathSegments
Returns a copy 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 RequestPathSegments
impl Debug for RequestPathSegments
source§impl PartialEq<RequestPathSegments> for RequestPathSegments
impl PartialEq<RequestPathSegments> for RequestPathSegments
source§fn eq(&self, other: &RequestPathSegments) -> bool
fn eq(&self, other: &RequestPathSegments) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RequestPathSegments
impl StateData for RequestPathSegments
impl StructuralEq for RequestPathSegments
impl StructuralPartialEq for RequestPathSegments
Auto Trait Implementations§
impl RefUnwindSafe for RequestPathSegments
impl Send for RequestPathSegments
impl Sync for RequestPathSegments
impl Unpin for RequestPathSegments
impl UnwindSafe for RequestPathSegments
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
source§impl<T> FromState for Twhere
T: StateData,
impl<T> FromState for Twhere T: StateData,
source§fn try_borrow_from(state: &State) -> Option<&T>
fn try_borrow_from(state: &State) -> Option<&T>
Tries to borrow a value from the
State
storage. Read moresource§fn try_borrow_mut_from(state: &mut State) -> Option<&mut T>
fn try_borrow_mut_from(state: &mut State) -> Option<&mut T>
Tries to mutably borrow a value from the
State
storage. Read moresource§fn borrow_mut_from(state: &mut State) -> &mut T
fn borrow_mut_from(state: &mut State) -> &mut T
Mutably borrows a value from the
State
storage. Read more