Struct actix_web::dev::ResourceDef [−][src]
pub struct ResourceDef { /* fields omitted */ }Expand description
ResourceDef describes an entry in resources table
Resource definition can contain only 16 dynamic segments
Implementations
Parse path pattern and create new Pattern instance.
Panics if path pattern is malformed.
Parse path pattern and create new Pattern instance.
Use prefix type instead of static.
Panics if path regex pattern is malformed.
Parse path pattern and create new Pattern instance.
Inserts / to begging of the pattern.
Use prefix type instead of static.
Panics if path regex pattern is malformed.
Is prefix path a match against this resource.
Is the given path and parameters a match against this pattern.
Is the given path and parameters a match against this pattern?
Build resource path from elements. Returns true on success.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ResourceDefimpl Send for ResourceDefimpl Sync for ResourceDefimpl Unpin for ResourceDefimpl UnwindSafe for ResourceDefBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V