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>,
}Fields
address: SocketAddr
weight: Option<u8>
sticky_id: Option<String>
backup: Option<bool>
Trait Implementations
impl Debug for BackendConfig[src]
impl Debug for BackendConfigfn 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 BackendConfig[src]
impl Clone for BackendConfigfn clone(&self) -> BackendConfig[src]
fn clone(&self) -> BackendConfigReturns 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 BackendConfig[src]
impl PartialEq for BackendConfigfn eq(&self, other: &BackendConfig) -> bool[src]
fn eq(&self, other: &BackendConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BackendConfig) -> bool[src]
fn ne(&self, other: &BackendConfig) -> boolThis method tests for !=.
impl Eq for BackendConfig[src]
impl Eq for BackendConfigimpl Hash for BackendConfig[src]
impl Hash for BackendConfigAuto Trait Implementations
impl Send for BackendConfig
impl Send for BackendConfigimpl Sync for BackendConfig
impl Sync for BackendConfig