Struct amq_protocol::frame::AMQPContentHeader
source · pub struct AMQPContentHeader {
pub class_id: Identifier,
pub body_size: PayloadSize,
pub properties: AMQPProperties,
}Expand description
Content header
Fields§
§class_id: IdentifierThe class of content
body_size: PayloadSizeThe size of the content’s body
properties: AMQPPropertiesThe AMQP properties associated with the content
Trait Implementations§
source§impl Clone for AMQPContentHeader
impl Clone for AMQPContentHeader
source§fn clone(&self) -> AMQPContentHeader
fn clone(&self) -> AMQPContentHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AMQPContentHeader
impl Debug for AMQPContentHeader
source§impl PartialEq<AMQPContentHeader> for AMQPContentHeader
impl PartialEq<AMQPContentHeader> for AMQPContentHeader
source§fn eq(&self, other: &AMQPContentHeader) -> bool
fn eq(&self, other: &AMQPContentHeader) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AMQPContentHeader
Auto Trait Implementations§
impl RefUnwindSafe for AMQPContentHeader
impl Send for AMQPContentHeader
impl Sync for AMQPContentHeader
impl Unpin for AMQPContentHeader
impl UnwindSafe for AMQPContentHeader
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