Struct sozu_command_lib::config::BackendConfig [−][src]
pub struct BackendConfig { pub address: SocketAddr, pub weight: Option<u8>, pub sticky_id: Option<String>, }
Fields
address: SocketAddr
weight: Option<u8>
sticky_id: Option<String>
Trait Implementations
impl Debug for BackendConfig
[src]
impl Debug for BackendConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BackendConfig
[src]
impl Clone for BackendConfig
fn clone(&self) -> BackendConfig
[src]
fn clone(&self) -> BackendConfig
Returns 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 BackendConfig
fn eq(&self, other: &BackendConfig) -> bool
[src]
fn eq(&self, other: &BackendConfig) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for BackendConfig
[src]
impl Eq for BackendConfig
impl Hash for BackendConfig
[src]
impl Hash for BackendConfig
Auto Trait Implementations
impl Send for BackendConfig
impl Send for BackendConfig
impl Sync for BackendConfig
impl Sync for BackendConfig