Struct amq_protocol_codegen::AMQPClass
source · pub struct AMQPClass {
pub id: ShortUInt,
pub methods: Vec<AMQPMethod>,
pub name: ShortString,
pub properties: Vec<AMQPProperty>,
}
Expand description
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
sourceimpl<'de> Deserialize<'de> for AMQPClass
impl<'de> Deserialize<'de> for AMQPClass
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Named for AMQPClass
impl Named for AMQPClass
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
impl StructuralPartialEq for AMQPClass
Auto Trait Implementations
impl RefUnwindSafe for AMQPClass
impl Send for AMQPClass
impl Sync for AMQPClass
impl Unpin for AMQPClass
impl UnwindSafe for AMQPClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more