Struct sozu_command_lib::state::RouteKey
source · pub struct RouteKey {
pub address: SocketAddr,
pub path_rule: PathRule,
pub method: Option<String>,
/* private fields */
}
Expand description
RouteKey
is the routing key built from the following tuple.
Fields§
§address: SocketAddr
§path_rule: PathRule
§method: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RouteKey
impl<'de> Deserialize<'de> for RouteKey
source§fn deserialize<D>(deserializer: D) -> Result<RouteKey, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<RouteKey, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&HttpFrontend> for RouteKey
impl From<&HttpFrontend> for RouteKey
source§fn from(frontend: &HttpFrontend) -> Self
fn from(frontend: &HttpFrontend) -> Self
Converts to this type from the input type.
source§impl From<HttpFrontend> for RouteKey
impl From<HttpFrontend> for RouteKey
source§fn from(frontend: HttpFrontend) -> Self
fn from(frontend: HttpFrontend) -> Self
Converts to this type from the input type.
source§impl Ord for RouteKey
impl Ord for RouteKey
source§impl PartialOrd<RouteKey> for RouteKey
impl PartialOrd<RouteKey> for RouteKey
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