Enum sozu_command_lib::proxy::PathRule
source · Expand description
A filter for the path of incoming requests
Variants§
Prefix(String)
filters paths that start with a pattern, typically “/api”
Regex(String)
filters paths that match a regex pattern
Equals(String)
filters paths that exactly match a pattern, no more, no less
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PathRule
impl<'de> Deserialize<'de> for PathRule
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for PathRule
impl Ord for PathRule
source§impl PartialOrd<PathRule> for PathRule
impl PartialOrd<PathRule> for PathRule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more