Struct monto::client::Config [] [src]

pub struct Config {
    pub host: String,
    pub port: u16,
    pub version: SoftwareVersion,
}

Configuration for a Client.

Fields

The host to connect to the Broker on.

Defaults to localhost, as per Section 4.1 of the specification.

The port to connect to the Broker on.

Defaults to 28888, as per Section 4.1 of the specification.

The name and version of the client.

Trait Implementations

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more