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>,
}Fields
name: ShortString
major_version: ShortShortUInt
minor_version: ShortShortUInt
revision: ShortShortUInt
port: LongUInt
copyright: LongString
domains: BTreeMap<ShortString, AMQPType>
constants: Vec<AMQPConstant>
soft_errors: Vec<AMQPConstant>
hard_errors: Vec<AMQPConstant>
classes: Vec<AMQPClass>
Methods
impl AMQProtocolDefinition[src]
fn load() -> AMQProtocolDefinition
Trait Implementations
impl Named for AMQProtocolDefinition[src]
impl Clone for AMQProtocolDefinition[src]
fn clone(&self) -> AMQProtocolDefinition
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 AMQProtocolDefinition[src]
impl PartialEq for AMQProtocolDefinition[src]
fn eq(&self, __arg_0: &AMQProtocolDefinition) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AMQProtocolDefinition) -> bool
This method tests for !=.