Struct amq_protocol_codegen::AMQPConstant [−][src]
pub struct AMQPConstant {
pub name: ShortString,
pub value: ShortUInt,
pub amqp_type: AMQPType,
}A constant as defined in the AMQP specification
Fields
name: ShortString
The name of the constant
value: ShortUInt
The value of the constant
amqp_type: AMQPType
The type of the constant
Trait Implementations
impl Named for AMQPConstant[src]
impl Named for AMQPConstantfn 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 AMQPConstant[src]
impl Clone for AMQPConstantfn clone(&self) -> AMQPConstant[src]
fn clone(&self) -> AMQPConstantReturns 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 AMQPConstant[src]
impl Debug for AMQPConstantfn 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 AMQPConstant[src]
impl PartialEq for AMQPConstantfn eq(&self, other: &AMQPConstant) -> bool[src]
fn eq(&self, other: &AMQPConstant) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AMQPConstant) -> bool[src]
fn ne(&self, other: &AMQPConstant) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for AMQPConstant
impl Send for AMQPConstantimpl Sync for AMQPConstant
impl Sync for AMQPConstant