Struct sozu_command_lib::proxy::Backend [−][src]
pub struct Backend { pub app_id: String, pub backend_id: String, pub address: SocketAddr, pub sticky_id: Option<String>, pub load_balancing_parameters: Option<LoadBalancingParams>, pub backup: Option<bool>, }
Fields
app_id: String
backend_id: String
address: SocketAddr
sticky_id: Option<String>
load_balancing_parameters: Option<LoadBalancingParams>
backup: Option<bool>
Trait Implementations
impl<'de> Deserialize<'de> for Backend
[src]
impl<'de> Deserialize<'de> for Backend
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src][−]
__D: Deserializer<'de>,
impl PartialOrd<Backend> for Backend
[src]
impl PartialOrd<Backend> for Backend
[src]fn partial_cmp(&self, other: &Backend) -> Option<Ordering>
[src][−]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for Backend
[src]
impl StructuralEq for Backend
[src]impl StructuralPartialEq for Backend
[src]
impl StructuralPartialEq for Backend
[src]Auto Trait Implementations
impl RefUnwindSafe for Backend
impl RefUnwindSafe for Backend
impl UnwindSafe for Backend
impl UnwindSafe for Backend
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self