pub fn merge<T: Into<TomlWsssConfig>>(self, other: T) -> TomlWsssConfig {
    let o = other.into();
    TomlWsssConfig {
      http_port: merge_options(self.http_port, o.http_port),
      ws_port: merge_options(self.ws_port, o.ws_port),
      bind_address: merge_options(self.bind_address, o.bind_address),
    }
  }
/// Merge partial configuration read from different sources
Merge partial configuration read from different sources
Merge partial configuration read from different sources
pub fn merge<T: Into<TomlWsssConfig>>(self, other: T) -> TomlWsssConfig {
    let o = other.into();
    TomlWsssConfig {
      http_port: merge_options(self.http_port, o.http_port),
      ws_port: merge_options(self.ws_port, o.ws_port),
      bind_address: merge_options(self.bind_address, o.bind_address),
    }
  }
pub fn merge < T : Into < TomlWsssConfig > > ( self , other : T ) -> TomlWsssConfig { let o = other . into ( ) ; TomlWsssConfig { http_port : merge_options ( self . http_port , o . http_port ) , ws_port : merge_options ( self . ws_port , o . ws_port ) , bind_address : merge_options ( self . bind_address , o . bind_address ) , } }
Merge partial configuration read from different sources
Merge partial configuration read from different sources
self
other
T
self
other
T