Struct monto::service::config::VersionConfig [] [src]

pub struct VersionConfig {
    pub id: Identifier,
    pub name: String,
    pub vendor: String,
    pub major: u64,
    pub minor: u64,
    pub patch: u64,
}

The configuration for a Service's reported version.

Example

id = "com.example.service"
name = "Example Service"
vendor = "ACME, Inc."
major = 1
minor = 0
patch = 0

Fields

The ID of the Broker.

Defaults to "edu.umn.cs.melt.monto_rs.broker".

The name of the Broker.

Defaults to "Reference Implementation Broker".

The vendor of the Broker.

Defaults to "Minnesota Extensible Language Tools".

The major version of the Broker.

Defaults to 0.

The minor version of the Broker.

Defaults to 0.

The patch version of the Broker.

Defaults to 0.

Trait Implementations

impl Clone for VersionConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VersionConfig
[src]

Formats the value using the given formatter.

impl PartialEq for VersionConfig
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for VersionConfig
[src]

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