pub struct RouteParam {
pub name: String,
pub value: String,
pub param_type: ParamType,
}
Expand description
A single route parameter with validation
Fields§
§name: String
§value: String
§param_type: ParamType
Implementations§
Source§impl RouteParam
impl RouteParam
Trait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RouteParam
impl RefUnwindSafe for RouteParam
impl Send for RouteParam
impl Sync for RouteParam
impl Unpin 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