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: String

The 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: String

The docker port mapping configuration to use for the synapse container e.g. 9999:9999. Defaults to 9999:9999

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.