Struct sozu_command_lib::proxy::HttpFrontend
source · pub struct HttpFrontend {
pub route: Route,
pub address: SocketAddr,
pub hostname: String,
pub path: PathRule,
pub method: Option<String>,
pub position: RulePosition,
pub tags: Option<BTreeMap<String, String>>,
}
Fields§
§route: Route
§address: SocketAddr
§hostname: String
§path: PathRule
§method: Option<String>
§position: RulePosition
Implementations§
source§impl HttpFrontend
impl HttpFrontend
Trait Implementations§
source§impl Clone for HttpFrontend
impl Clone for HttpFrontend
source§fn clone(&self) -> HttpFrontend
fn clone(&self) -> HttpFrontend
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpFrontend
impl Debug for HttpFrontend
source§impl<'de> Deserialize<'de> for HttpFrontend
impl<'de> Deserialize<'de> for HttpFrontend
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 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 Hash for HttpFrontend
impl Hash for HttpFrontend
source§impl Ord for HttpFrontend
impl Ord for HttpFrontend
source§fn cmp(&self, other: &HttpFrontend) -> Ordering
fn cmp(&self, other: &HttpFrontend) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HttpFrontend> for HttpFrontend
impl PartialEq<HttpFrontend> for HttpFrontend
source§fn eq(&self, other: &HttpFrontend) -> bool
fn eq(&self, other: &HttpFrontend) -> bool
source§impl PartialOrd<HttpFrontend> for HttpFrontend
impl PartialOrd<HttpFrontend> for HttpFrontend
source§fn partial_cmp(&self, other: &HttpFrontend) -> Option<Ordering>
fn partial_cmp(&self, other: &HttpFrontend) -> Option<Ordering>
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