Struct mx_tester::DockerConfig [−][src]
pub struct DockerConfig {
pub docker_network: Option<String>,
pub hostname: String,
pub port_mapping: String,
}Fields
docker_network: Option<String>A docker network to run the synape containers on.
If the network does not exist it will be created.
If a network is provided, the synapse container will be given the hostname synapse.
Defaults to None.
hostname: StringThe hostname to give the synapse container on the docker network, if the docker network has been provided.
Defaults to synapse but will not be used unless a network is provided in docker_network.
port_mapping: StringThe docker port mapping configuration to use for the synapse container e.g. 9999:9999.
Defaults to 9999:9999
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more