Struct sozu_command_lib::config::BackendConfig [−][src]
pub struct BackendConfig { pub address: SocketAddr, pub weight: Option<u8>, pub sticky_id: Option<String>, pub backup: Option<bool>, pub backend_id: Option<String>, }
Fields
address: SocketAddr
weight: Option<u8>
sticky_id: Option<String>
backup: Option<bool>
backend_id: Option<String>
Trait Implementations
impl Clone for BackendConfig
[src]
impl Clone for BackendConfig
[src]fn clone(&self) -> BackendConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for BackendConfig
[src]
impl<'de> Deserialize<'de> for BackendConfig
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for BackendConfig
[src]
impl Eq for BackendConfig
[src]impl Hash for BackendConfig
[src]
impl Hash for BackendConfig
[src]impl PartialEq<BackendConfig> for BackendConfig
[src]
impl PartialEq<BackendConfig> for BackendConfig
[src]fn eq(&self, other: &BackendConfig) -> bool
[src]
fn ne(&self, other: &BackendConfig) -> bool
[src]
impl Serialize for BackendConfig
[src]
impl Serialize for BackendConfig
[src]impl StructuralEq for BackendConfig
[src]
impl StructuralEq for BackendConfig
[src]impl StructuralPartialEq for BackendConfig
[src]
impl StructuralPartialEq for BackendConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for BackendConfig
impl RefUnwindSafe for BackendConfig
impl Send for BackendConfig
impl Send for BackendConfig
impl Sync for BackendConfig
impl Sync for BackendConfig
impl Unpin for BackendConfig
impl Unpin for BackendConfig
impl UnwindSafe for BackendConfig
impl UnwindSafe for BackendConfig
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