Struct amq_protocol_codegen::AMQProtocolDefinition [−][src]
pub struct AMQProtocolDefinition {
pub name: String,
pub major_version: ShortShortUInt,
pub minor_version: ShortShortUInt,
pub revision: ShortShortUInt,
pub port: LongUInt,
pub copyright: String,
pub domains: BTreeMap<String, AMQPType>,
pub constants: Vec<AMQPConstant>,
pub soft_errors: Vec<AMQPConstant>,
pub hard_errors: Vec<AMQPConstant>,
pub classes: Vec<AMQPClass>,
}
Expand description
Structure holding the definition of the protocol
Fields
name: String
The name of the protocol
major_version: ShortShortUInt
The major protocol version
minor_version: ShortShortUInt
The minor protocol version
revision: ShortShortUInt
The revision of the protocol version
port: LongUInt
The default port of the protocol
copyright: String
The copyright holder of the protocol specification
domains: BTreeMap<String, AMQPType>
The domains defined by the protocol specification
constants: Vec<AMQPConstant>
The constants defined by the protocol specification
soft_errors: Vec<AMQPConstant>
The soft errors defined by the protocol specification
hard_errors: Vec<AMQPConstant>
The hard errors defined by the protocol specification
classes: Vec<AMQPClass>
The classes defined by the protocol specification
Implementations
Load protocol definition from reference specification
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AMQProtocolDefinition
impl Send for AMQProtocolDefinition
impl Sync for AMQProtocolDefinition
impl Unpin for AMQProtocolDefinition
impl UnwindSafe for AMQProtocolDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more