Struct sozu_command_lib::config::HttpAppConfig [−][src]
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: LoadBalancingAlgorithms, pub load_metric: Option<LoadMetric>, pub answer_503: Option<String>, }
Fields
app_id: String
frontends: Vec<HttpFrontendConfig>
backends: Vec<BackendConfig>
sticky_session: bool
https_redirect: bool
load_balancing: LoadBalancingAlgorithms
load_metric: Option<LoadMetric>
answer_503: Option<String>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HttpAppConfig
impl Send for HttpAppConfig
impl Sync for HttpAppConfig
impl Unpin for HttpAppConfig
impl UnwindSafe for HttpAppConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self