Struct actix_router::Path
source · [−]pub struct Path<T> { /* private fields */ }
Expand description
Resource path match information.
If resource path contains variable patterns, Path
stores them.
Implementations
Returns unprocessed part of the path.
Returns empty string if no more is to be processed.
Returns number of interpolated segments.
Get matched parameter by name without type conversion
Get matched parameter by name.
If keyed parameter is not available empty string is used as default value.
Try to deserialize matching parameters to a specified type U
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Path<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Path<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more