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
id: Identifier
The ID of the Broker.
Defaults to "edu.umn.cs.melt.monto_rs.broker".
name: String
The name of the Broker.
Defaults to "Reference Implementation Broker".
vendor: String
The vendor of the Broker.
Defaults to "Minnesota Extensible Language Tools".
major: u64
The major version of the Broker.
Defaults to 0.
minor: u64
The minor version of the Broker.
Defaults to 0.
patch: u64
The patch version of the Broker.
Defaults to 0.
Trait Implementations
impl Clone for VersionConfig
[src]
fn clone(&self) -> VersionConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for VersionConfig
[src]
impl PartialEq for VersionConfig
[src]
fn eq(&self, __arg_0: &VersionConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VersionConfig) -> bool
This method tests for !=
.
impl Default for VersionConfig
[src]
fn default() -> VersionConfig
Returns the "default value" for a type. Read more