Trait amq_protocol_codegen::Named
source · pub trait Named {
fn name(&self) -> String;
fn camel_name(&self) -> String;
fn snake_name(&self) -> String;
}
Expand description
Trait allowing us to get the name of an implementor in different forms
Required Methods
sourcefn camel_name(&self) -> String
fn camel_name(&self) -> String
Get the name converted to camel case
sourcefn snake_name(&self) -> String
fn snake_name(&self) -> String
Get the name converted to snake case