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_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>
Methods
impl HttpAppConfig[src]
impl HttpAppConfigpub fn generate_orders(&self) -> Vec<ProxyRequestData>[src]
pub fn generate_orders(&self) -> Vec<ProxyRequestData>Trait Implementations
impl Debug for HttpAppConfig[src]
impl Debug for HttpAppConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for HttpAppConfig[src]
impl Clone for HttpAppConfigfn clone(&self) -> HttpAppConfig[src]
fn clone(&self) -> HttpAppConfigReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for HttpAppConfig[src]
impl PartialEq for HttpAppConfigfn eq(&self, other: &HttpAppConfig) -> bool[src]
fn eq(&self, other: &HttpAppConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &HttpAppConfig) -> bool[src]
fn ne(&self, other: &HttpAppConfig) -> boolThis method tests for !=.
impl Eq for HttpAppConfig[src]
impl Eq for HttpAppConfigimpl Hash for HttpAppConfig[src]
impl Hash for HttpAppConfigAuto Trait Implementations
impl Send for HttpAppConfig
impl Send for HttpAppConfigimpl Sync for HttpAppConfig
impl Sync for HttpAppConfig