Struct sozu_command_lib::config::HttpAppConfig
source · [−]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
sourceimpl HttpAppConfig
impl HttpAppConfig
pub fn generate_orders(&self) -> Vec<ProxyRequestData>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Trait Implementations
sourceimpl Clone for HttpAppConfig
impl Clone for HttpAppConfig
sourcefn clone(&self) -> HttpAppConfig
fn clone(&self) -> HttpAppConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpAppConfig
impl Debug for HttpAppConfig
sourceimpl<'de> Deserialize<'de> for HttpAppConfig
impl<'de> Deserialize<'de> for HttpAppConfig
sourcefn 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
sourceimpl Hash for HttpAppConfig
impl Hash for HttpAppConfig
sourceimpl PartialEq<HttpAppConfig> for HttpAppConfig
impl PartialEq<HttpAppConfig> for HttpAppConfig
sourcefn eq(&self, other: &HttpAppConfig) -> bool
fn eq(&self, other: &HttpAppConfig) -> bool
sourceimpl Serialize for HttpAppConfig
impl Serialize for HttpAppConfig
impl Eq for HttpAppConfig
impl StructuralEq for HttpAppConfig
impl StructuralPartialEq for HttpAppConfig
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more