Struct actix_web::dev::Path [−][src]
pub struct Path<T> { /* fields omitted */ }
Expand description
Resource path match information.
If resource path contains variable patterns, Path
stores them.
Implementations
Returns number of interpolated segments.
Get matched parameter by name without type conversion
Get unprocessed part of the path
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self