pub struct Properties {Show 13 fields
pub content_type: Option<AmqpString>,
pub content_encoding: Option<AmqpString>,
pub headers: Option<HashMap<AmqpString, FieldArgument>>,
pub delivery_mode: Option<u8>,
pub priority: Option<u8>,
pub correlation_id: Option<AmqpString>,
pub reply_to: Option<AmqpString>,
pub expiration: Option<AmqpString>,
pub message_id: Option<AmqpString>,
pub timestamp: Option<i64>,
pub type_: Option<AmqpString>,
pub user_id: Option<AmqpString>,
pub app_id: Option<AmqpString>,
}Fields§
§content_type: Option<AmqpString>§content_encoding: Option<AmqpString>§headers: Option<HashMap<AmqpString, FieldArgument>>§delivery_mode: Option<u8>§priority: Option<u8>§correlation_id: Option<AmqpString>§reply_to: Option<AmqpString>§expiration: Option<AmqpString>§message_id: Option<AmqpString>§timestamp: Option<i64>§type_: Option<AmqpString>§user_id: Option<AmqpString>§app_id: Option<AmqpString>Implementations§
Source§impl Properties
impl Properties
pub fn new() -> Properties
Trait Implementations§
Source§impl Clone for Properties
impl Clone for Properties
Source§fn clone(&self) -> Properties
fn clone(&self) -> Properties
Returns a duplicate 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 Properties
impl Debug for Properties
Source§impl PartialEq for Properties
impl PartialEq for Properties
impl StructuralPartialEq for Properties
Auto Trait Implementations§
impl !Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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