pub struct RouteParam {
pub name: String,
pub value: String,
}Expand description
A captured route parameter.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for RouteParam
impl Clone for RouteParam
Source§fn clone(&self) -> RouteParam
fn clone(&self) -> RouteParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouteParam
impl Debug for RouteParam
Source§impl PartialEq for RouteParam
impl PartialEq for RouteParam
Source§fn eq(&self, other: &RouteParam) -> bool
fn eq(&self, other: &RouteParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RouteParam
impl StructuralPartialEq for RouteParam
Auto Trait Implementations§
impl Freeze for RouteParam
impl RefUnwindSafe for RouteParam
impl Send for RouteParam
impl Sync for RouteParam
impl Unpin for RouteParam
impl UnsafeUnpin for RouteParam
impl UnwindSafe for RouteParam
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