Struct rust_easy_router::MatchableUrl[][src]

pub struct MatchableUrl { /* fields omitted */ }

Methods

impl MatchableUrl
[src]

Creates a new MatchableUrl given a "route."

Example:

let m = MatchableUrl::new("/user/:id");

Attempts to match a request with a MatchableUrl. If this succeeds, it will also return a list of the in-url parameters.

Trait Implementations

impl Hash for MatchableUrl
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for MatchableUrl
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MatchableUrl
[src]

Auto Trait Implementations