Struct sozu_command_lib::config::FileAppConfig [−][src]
pub struct FileAppConfig {
pub frontends: Vec<FileAppFrontendConfig>,
pub backends: Vec<BackendConfig>,
pub protocol: FileAppProtocolConfig,
pub sticky_session: Option<bool>,
pub https_redirect: Option<bool>,
pub send_proxy: Option<bool>,
pub load_balancing_policy: LoadBalancingAlgorithms,
pub answer_503: Option<String>,
}Fields
frontends: Vec<FileAppFrontendConfig>
backends: Vec<BackendConfig>
protocol: FileAppProtocolConfig
sticky_session: Option<bool>
https_redirect: Option<bool>
send_proxy: Option<bool>
load_balancing_policy: LoadBalancingAlgorithms
answer_503: Option<String>
Methods
impl FileAppConfig[src]
impl FileAppConfigpub fn to_app_config(
self,
app_id: &str,
expect_proxy: &HashSet<SocketAddr>
) -> Result<AppConfig, String>[src]
pub fn to_app_config(
self,
app_id: &str,
expect_proxy: &HashSet<SocketAddr>
) -> Result<AppConfig, String>Trait Implementations
impl Debug for FileAppConfig[src]
impl Debug for FileAppConfigfn 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 FileAppConfig[src]
impl Clone for FileAppConfigfn clone(&self) -> FileAppConfig[src]
fn clone(&self) -> FileAppConfigReturns 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 FileAppConfig[src]
impl PartialEq for FileAppConfigfn eq(&self, other: &FileAppConfig) -> bool[src]
fn eq(&self, other: &FileAppConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FileAppConfig) -> bool[src]
fn ne(&self, other: &FileAppConfig) -> boolThis method tests for !=.
impl Eq for FileAppConfig[src]
impl Eq for FileAppConfigimpl Hash for FileAppConfig[src]
impl Hash for FileAppConfigAuto Trait Implementations
impl Send for FileAppConfig
impl Send for FileAppConfigimpl Sync for FileAppConfig
impl Sync for FileAppConfig