Struct amq_protocol::protocol::basic::Return
source · pub struct Return {
pub reply_code: ShortUInt,
pub reply_text: ShortString,
pub exchange: ShortString,
pub routing_key: ShortString,
}
Expand description
return (Generated)
Fields§
§reply_code: ShortUInt
reply-code (Generated)
reply_text: ShortString
reply-text (Generated)
exchange: ShortString
exchange (Generated)
routing_key: ShortString
routing-key (Generated)
Implementations§
source§impl Return
impl Return
sourcepub fn get_amqp_class_id(&self) -> Identifier
pub fn get_amqp_class_id(&self) -> Identifier
Get the AMQP class id for return (Generated)
sourcepub fn get_amqp_method_id(&self) -> Identifier
pub fn get_amqp_method_id(&self) -> Identifier
Get the AMQP method id for return (Generated)
Trait Implementations§
source§impl PartialEq for Return
impl PartialEq for Return
impl StructuralPartialEq for Return
Auto Trait Implementations§
impl Freeze for Return
impl RefUnwindSafe for Return
impl Send for Return
impl Sync for Return
impl Unpin for Return
impl UnwindSafe for Return
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