Struct mx_tester::ContainerConfig[][src]

pub struct ContainerConfig {
    pub port_mapping: String,
    pub hostname: String,
    pub docker_network: Option<String>,
    pub public_url: String,
    pub server_name: String,
}
Expand description

The configuration for a single synapse container. We copy some fields from the main config for simplicity.

Fields

port_mapping: String

The docker port configuration. e.g. 9999:9999.

hostname: String

The hostname of the synapse container.

docker_network: Option<String>

The name of a docker network to place the container in.

public_url: String

The URL that can be used to access this container from the host.

server_name: String

The name of the synapse server.

Trait Implementations

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

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.