Enum wampire::MatchingPolicy[][src]

pub enum MatchingPolicy {
    Prefix,
    Wildcard,
    Strict,
}

The policies that can be used for matching a uri pattern.

Variants

The given pattern matches any URI that has it as a prefix

The given pattern contains at least one 'wildcard' segment which can match any segment at the same location

The given pattern only matches URIs that are identical.

Trait Implementations

impl PartialEq for MatchingPolicy
[src]

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

This method tests for !=.

impl Debug for MatchingPolicy
[src]

Formats the value using the given formatter. Read more

impl Clone for MatchingPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MatchingPolicy
[src]

impl Default for MatchingPolicy
[src]

Returns the "default value" for a type. Read more

impl Serialize for MatchingPolicy
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for MatchingPolicy
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations