Struct lapin::protocol::basic::AMQPProperties
source · pub struct AMQPProperties { /* private fields */ }
Expand description
basic properties (Generated)
Implementations§
source§impl AMQPProperties
impl AMQPProperties
sourcepub fn with_content_type(self, value: ShortString) -> AMQPProperties
pub fn with_content_type(self, value: ShortString) -> AMQPProperties
Set content-type (Generated)
sourcepub fn with_content_encoding(self, value: ShortString) -> AMQPProperties
pub fn with_content_encoding(self, value: ShortString) -> AMQPProperties
Set content-encoding (Generated)
sourcepub fn with_headers(self, value: FieldTable) -> AMQPProperties
pub fn with_headers(self, value: FieldTable) -> AMQPProperties
Set headers (Generated)
sourcepub fn with_delivery_mode(self, value: u8) -> AMQPProperties
pub fn with_delivery_mode(self, value: u8) -> AMQPProperties
Set delivery-mode (Generated)
sourcepub fn with_priority(self, value: u8) -> AMQPProperties
pub fn with_priority(self, value: u8) -> AMQPProperties
Set priority (Generated)
sourcepub fn with_correlation_id(self, value: ShortString) -> AMQPProperties
pub fn with_correlation_id(self, value: ShortString) -> AMQPProperties
Set correlation-id (Generated)
sourcepub fn with_reply_to(self, value: ShortString) -> AMQPProperties
pub fn with_reply_to(self, value: ShortString) -> AMQPProperties
Set reply-to (Generated)
sourcepub fn with_expiration(self, value: ShortString) -> AMQPProperties
pub fn with_expiration(self, value: ShortString) -> AMQPProperties
Set expiration (Generated)
sourcepub fn with_message_id(self, value: ShortString) -> AMQPProperties
pub fn with_message_id(self, value: ShortString) -> AMQPProperties
Set message-id (Generated)
sourcepub fn with_timestamp(self, value: u64) -> AMQPProperties
pub fn with_timestamp(self, value: u64) -> AMQPProperties
Set timestamp (Generated)
sourcepub fn with_kind(self, value: ShortString) -> AMQPProperties
pub fn with_kind(self, value: ShortString) -> AMQPProperties
Set type (Generated)
sourcepub fn with_user_id(self, value: ShortString) -> AMQPProperties
pub fn with_user_id(self, value: ShortString) -> AMQPProperties
Set user-id (Generated)
sourcepub fn with_app_id(self, value: ShortString) -> AMQPProperties
pub fn with_app_id(self, value: ShortString) -> AMQPProperties
Set app-id (Generated)
sourcepub fn with_cluster_id(self, value: ShortString) -> AMQPProperties
pub fn with_cluster_id(self, value: ShortString) -> AMQPProperties
Set cluster-id (Generated)
sourcepub fn content_type(&self) -> &Option<ShortString>
pub fn content_type(&self) -> &Option<ShortString>
Get content-type (Generated)
sourcepub fn content_encoding(&self) -> &Option<ShortString>
pub fn content_encoding(&self) -> &Option<ShortString>
Get content-encoding (Generated)
sourcepub fn headers(&self) -> &Option<FieldTable>
pub fn headers(&self) -> &Option<FieldTable>
Get headers (Generated)
sourcepub fn delivery_mode(&self) -> &Option<u8>
pub fn delivery_mode(&self) -> &Option<u8>
Get delivery-mode (Generated)
sourcepub fn correlation_id(&self) -> &Option<ShortString>
pub fn correlation_id(&self) -> &Option<ShortString>
Get correlation-id (Generated)
sourcepub fn reply_to(&self) -> &Option<ShortString>
pub fn reply_to(&self) -> &Option<ShortString>
Get reply-to (Generated)
sourcepub fn expiration(&self) -> &Option<ShortString>
pub fn expiration(&self) -> &Option<ShortString>
Get expiration (Generated)
sourcepub fn message_id(&self) -> &Option<ShortString>
pub fn message_id(&self) -> &Option<ShortString>
Get message-id (Generated)
sourcepub fn kind(&self) -> &Option<ShortString>
pub fn kind(&self) -> &Option<ShortString>
Get type (Generated)
sourcepub fn user_id(&self) -> &Option<ShortString>
pub fn user_id(&self) -> &Option<ShortString>
Get user-id (Generated)
sourcepub fn app_id(&self) -> &Option<ShortString>
pub fn app_id(&self) -> &Option<ShortString>
Get app-id (Generated)
sourcepub fn cluster_id(&self) -> &Option<ShortString>
pub fn cluster_id(&self) -> &Option<ShortString>
Get cluster-id (Generated)
Trait Implementations§
source§impl Clone for AMQPProperties
impl Clone for AMQPProperties
source§fn clone(&self) -> AMQPProperties
fn clone(&self) -> AMQPProperties
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 AMQPProperties
impl Debug for AMQPProperties
source§impl Default for AMQPProperties
impl Default for AMQPProperties
source§fn default() -> AMQPProperties
fn default() -> AMQPProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AMQPProperties
impl<'de> Deserialize<'de> for AMQPProperties
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AMQPProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AMQPProperties
impl PartialEq for AMQPProperties
source§fn eq(&self, other: &AMQPProperties) -> bool
fn eq(&self, other: &AMQPProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AMQPProperties
impl Serialize for AMQPProperties
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AMQPProperties
Auto Trait Implementations§
impl Freeze for AMQPProperties
impl RefUnwindSafe for AMQPProperties
impl Send for AMQPProperties
impl Sync for AMQPProperties
impl Unpin for AMQPProperties
impl UnwindSafe for AMQPProperties
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