pub struct ContentHeaderFrame {Show 19 fields
pub channel: Channel,
pub class_id: ClassId,
pub weight: Weight,
pub body_size: u64,
pub prop_flags: HeaderPropertyFlags,
pub cluster_id: Option<String>,
pub app_id: Option<String>,
pub user_id: Option<String>,
pub message_type: Option<String>,
pub timestamp: Option<u64>,
pub message_id: Option<String>,
pub expiration: Option<String>,
pub reply_to: Option<String>,
pub correlation_id: Option<String>,
pub priority: Option<u8>,
pub delivery_mode: Option<u8>,
pub headers: Option<FieldTable>,
pub content_encoding: Option<String>,
pub content_type: Option<String>,
}Fields§
§channel: Channel§class_id: ClassId§weight: Weight§body_size: u64§prop_flags: HeaderPropertyFlags§cluster_id: Option<String>§app_id: Option<String>§user_id: Option<String>§message_type: Option<String>§timestamp: Option<u64>§message_id: Option<String>§expiration: Option<String>§reply_to: Option<String>§correlation_id: Option<String>§priority: Option<u8>§delivery_mode: Option<u8>§headers: Option<FieldTable>§content_encoding: Option<String>§content_type: Option<String>Implementations§
Source§impl ContentHeaderFrame
impl ContentHeaderFrame
pub fn with_content_type(&mut self, content_type: String) -> &ContentHeaderFrame
pub fn frame(self) -> AMQPFrame
Trait Implementations§
Source§impl Debug for ContentHeaderFrame
impl Debug for ContentHeaderFrame
Source§impl Default for ContentHeaderFrame
impl Default for ContentHeaderFrame
Source§fn default() -> ContentHeaderFrame
fn default() -> ContentHeaderFrame
Returns the “default value” for a type. Read more
Source§impl From<ContentHeaderFrame> for AMQPFrame
impl From<ContentHeaderFrame> for AMQPFrame
Source§fn from(chf: ContentHeaderFrame) -> AMQPFrame
fn from(chf: ContentHeaderFrame) -> AMQPFrame
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContentHeaderFrame
impl RefUnwindSafe for ContentHeaderFrame
impl Send for ContentHeaderFrame
impl Sync for ContentHeaderFrame
impl Unpin for ContentHeaderFrame
impl UnwindSafe for ContentHeaderFrame
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