pub struct Close {
pub reply_code: u16,
pub reply_text: ShortString,
pub class_id: u16,
pub method_id: u16,
}
Expand description
close (Generated)
Fields§
§reply_code: u16
reply-code (Generated)
reply_text: ShortString
reply-text (Generated)
class_id: u16
class-id (Generated)
method_id: u16
method-id (Generated)
Implementations§
source§impl Close
impl Close
sourcepub fn get_amqp_class_id(&self) -> u16
pub fn get_amqp_class_id(&self) -> u16
Get the AMQP class id for close (Generated)
sourcepub fn get_amqp_method_id(&self) -> u16
pub fn get_amqp_method_id(&self) -> u16
Get the AMQP method id for close (Generated)
Trait Implementations§
source§impl PartialEq for Close
impl PartialEq for Close
impl StructuralPartialEq for Close
Auto Trait Implementations§
impl Freeze for Close
impl RefUnwindSafe for Close
impl Send for Close
impl Sync for Close
impl Unpin for Close
impl UnwindSafe for Close
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