Struct sozu_command_lib::config::HttpAppConfig
source · pub struct HttpAppConfig {
pub app_id: String,
pub frontends: Vec<HttpFrontendConfig>,
pub backends: Vec<BackendConfig>,
pub sticky_session: bool,
pub https_redirect: bool,
pub load_balancing_policy: LoadBalancingAlgorithms,
pub answer_503: Option<String>,
}Fields§
§app_id: String§frontends: Vec<HttpFrontendConfig>§backends: Vec<BackendConfig>§sticky_session: bool§https_redirect: bool§load_balancing_policy: LoadBalancingAlgorithms§answer_503: Option<String>Implementations§
source§impl HttpAppConfig
impl HttpAppConfig
pub fn generate_orders(&self) -> Vec<ProxyRequestData> ⓘ
Trait Implementations§
source§impl Clone for HttpAppConfig
impl Clone for HttpAppConfig
source§fn clone(&self) -> HttpAppConfig
fn clone(&self) -> HttpAppConfig
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 HttpAppConfig
impl Debug for HttpAppConfig
source§impl<'de> Deserialize<'de> for HttpAppConfig
impl<'de> Deserialize<'de> for HttpAppConfig
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