Struct rust_easy_router::MatchableUrl [−][src]
pub struct MatchableUrl { /* fields omitted */ }
Methods
impl MatchableUrl
[src]
impl MatchableUrl
pub fn new(url: &str) -> MatchableUrl
[src]
pub fn new(url: &str) -> MatchableUrl
pub fn _match(&self, request_path: Vec<&str>) -> MatchableUrlResult
[src]
pub fn _match(&self, request_path: Vec<&str>) -> MatchableUrlResult
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]
impl Hash for MatchableUrl
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for MatchableUrl
[src]
impl PartialEq for MatchableUrl
fn eq(&self, other: &MatchableUrl) -> bool
[src]
fn eq(&self, other: &MatchableUrl) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for MatchableUrl
[src]
impl Eq for MatchableUrl
Auto Trait Implementations
impl Send for MatchableUrl
impl Send for MatchableUrl
impl Sync for MatchableUrl
impl Sync for MatchableUrl