Struct amq_protocol_codegen::AMQProtocolDefinition[][src]

pub struct AMQProtocolDefinition {
    pub name: ShortString,
    pub major_version: ShortShortUInt,
    pub minor_version: ShortShortUInt,
    pub revision: ShortShortUInt,
    pub port: LongUInt,
    pub copyright: LongString,
    pub domains: BTreeMap<ShortString, AMQPType>,
    pub constants: Vec<AMQPConstant>,
    pub soft_errors: Vec<AMQPConstant>,
    pub hard_errors: Vec<AMQPConstant>,
    pub classes: Vec<AMQPClass>,
}

Structure holding the definition of the protocol

Fields

The name of the protocol

The major protocol version

The minor protocol version

The revision of the protocol version

The default port of the protocol

The copyright holder of the protocol specification

The domains defined by the protocol specification

The constants defined by the protocol specification

The soft errors defined by the protocol specification

The hard errors defined by the protocol specification

The classes defined by the protocol specification

Methods

impl AMQProtocolDefinition
[src]

Load protocol definition from reference specification

Trait Implementations

impl Named for AMQProtocolDefinition
[src]

Get the raw name

Get the name converted to camel case

Get the name converted to snake case

impl Clone for AMQProtocolDefinition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AMQProtocolDefinition
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AMQProtocolDefinition
[src]

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

This method tests for !=.

Auto Trait Implementations