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: FileAppProtocolConfigsticky_session: Option<bool>https_redirect: Option<bool>send_proxy: Option<bool>load_balancing_policy: LoadBalancingAlgorithmsanswer_503: Option<String>

Implementations

impl FileAppConfig[src]

pub fn to_app_config(
    self,
    app_id: &str,
    expect_proxy: &HashSet<SocketAddr>
) -> Result<AppConfig, String>
[src]

Trait Implementations

impl Clone for FileAppConfig[src]

impl Debug for FileAppConfig[src]

impl<'de> Deserialize<'de> for FileAppConfig[src]

impl Eq for FileAppConfig[src]

impl Hash for FileAppConfig[src]

impl PartialEq<FileAppConfig> for FileAppConfig[src]

impl Serialize for FileAppConfig[src]

impl StructuralEq for FileAppConfig[src]

impl StructuralPartialEq for FileAppConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.