Struct amq_protocol_codegen::AMQPClass
source · pub struct AMQPClass {
pub id: Identifier,
pub methods: Vec<AMQPMethod>,
pub name: String,
pub properties: Vec<AMQPProperty>,
pub metadata: Value,
}
Expand description
A class as defined in the AMQP specification
Fields§
§id: Identifier
The id of the class
methods: Vec<AMQPMethod>
The methods of the class
name: String
The name of the class
properties: Vec<AMQPProperty>
The properties of the class
metadata: Value
Extra metadata for code generation
Trait Implementations§
source§impl<'de> Deserialize<'de> for AMQPClass
impl<'de> Deserialize<'de> for AMQPClass
source§fn 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
source§impl PartialEq for AMQPClass
impl PartialEq for AMQPClass
impl StructuralPartialEq for AMQPClass
Auto Trait Implementations§
impl Freeze for AMQPClass
impl RefUnwindSafe for AMQPClass
impl Send for AMQPClass
impl Sync for AMQPClass
impl Unpin for AMQPClass
impl UnwindSafe for AMQPClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more