Trait amq_protocol_codegen::Named [−][src]
pub trait Named { fn name(&self) -> String; fn camel_name(&self) -> String; fn snake_name(&self) -> String; }
Trait allowing us to get the name of an implementor in different forms
Required Methods
fn name(&self) -> String
Get the raw name
fn camel_name(&self) -> String
Get the name converted to camel case
fn snake_name(&self) -> String
Get the name converted to snake case
Implementors
impl Named for AMQProtocolDefinition
impl Named for AMQPConstant
impl Named for AMQPClass
impl Named for AMQPMethod
impl Named for AMQPValueArgument
impl Named for AMQPFlagArgument
impl Named for AMQPProperty