Struct sozu_command_lib::proxy::Cluster
source · pub struct Cluster {
pub cluster_id: ClusterId,
pub sticky_session: bool,
pub https_redirect: bool,
pub proxy_protocol: Option<ProxyProtocolConfig>,
pub load_balancing: LoadBalancingAlgorithms,
pub answer_503: Option<String>,
pub load_metric: Option<LoadMetric>,
}
Fields§
§cluster_id: ClusterId
§sticky_session: bool
§https_redirect: bool
§proxy_protocol: Option<ProxyProtocolConfig>
§load_balancing: LoadBalancingAlgorithms
§answer_503: Option<String>
§load_metric: Option<LoadMetric>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
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