Struct amq_protocol_codegen::AMQPProperty [−][src]
pub struct AMQPProperty { pub amqp_type: AMQPType, pub name: ShortString, }
A property as defined in the AMQP specification
Fields
amqp_type: AMQPType
The type of the property
name: ShortString
The name of the property
Trait Implementations
impl Named for AMQPProperty
[src]
impl Named for AMQPProperty
fn name(&self) -> String
[src]
fn name(&self) -> String
Get the raw name
fn camel_name(&self) -> String
[src]
fn camel_name(&self) -> String
Get the name converted to camel case
fn snake_name(&self) -> String
[src]
fn snake_name(&self) -> String
Get the name converted to snake case
impl Clone for AMQPProperty
[src]
impl Clone for AMQPProperty
fn clone(&self) -> AMQPProperty
[src]
fn clone(&self) -> AMQPProperty
Returns 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 AMQPProperty
[src]
impl Debug for AMQPProperty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for AMQPProperty
[src]
impl PartialEq for AMQPProperty
fn eq(&self, other: &AMQPProperty) -> bool
[src]
fn eq(&self, other: &AMQPProperty) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AMQPProperty) -> bool
[src]
fn ne(&self, other: &AMQPProperty) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AMQPProperty
impl Send for AMQPProperty
impl Sync for AMQPProperty
impl Sync for AMQPProperty