Struct amq_protocol_codegen::AMQPClass [−][src]
pub struct AMQPClass {
pub id: ShortUInt,
pub methods: Vec<AMQPMethod>,
pub name: ShortString,
pub properties: Vec<AMQPProperty>,
}A class as defined in the AMQP specification
Fields
id: ShortUInt
The id of the class
methods: Vec<AMQPMethod>
The methods of the class
name: ShortString
The name of the class
properties: Vec<AMQPProperty>
The properties of the class
Trait Implementations
impl Named for AMQPClass[src]
impl Named for AMQPClassfn name(&self) -> String[src]
fn name(&self) -> StringGet the raw name
fn camel_name(&self) -> String[src]
fn camel_name(&self) -> StringGet the name converted to camel case
fn snake_name(&self) -> String[src]
fn snake_name(&self) -> StringGet the name converted to snake case
impl Clone for AMQPClass[src]
impl Clone for AMQPClassfn clone(&self) -> AMQPClass[src]
fn clone(&self) -> AMQPClassReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for AMQPClass[src]
impl Debug for AMQPClassfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AMQPClass[src]
impl PartialEq for AMQPClass