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 for RequestPathSegments
impl PartialEq 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 StructuralPartialEq for RequestPathSegments
Auto Trait Implementations§
impl Freeze for RequestPathSegments
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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