Struct actix_router::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 ResourceDef
impl Send for ResourceDef
impl Sync for ResourceDef
impl Unpin for ResourceDef
impl UnwindSafe for ResourceDef
Blanket Implementations
Mutably borrows from an owned value. Read more