Struct mx_tester::DockerConfig [−][src]
pub struct DockerConfig {
pub hostname: String,
pub port_mapping: Vec<PortMapping>,
}Expand description
Docker-specific configuration to use in the test.
Fields
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 network.
port_mapping: Vec<PortMapping>The docker port mapping configuration to use for the synapse container.
Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for DockerConfig
impl Send for DockerConfig
impl Sync for DockerConfig
impl Unpin for DockerConfig
impl UnwindSafe for DockerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more