pub struct AMQPProperties { /* private fields */ }
Expand description
basic properties (Generated)
Implementations§
Source§impl AMQPProperties
impl AMQPProperties
Sourcepub fn with_content_type(self, value: ShortString) -> Self
pub fn with_content_type(self, value: ShortString) -> Self
Set content-type (Generated)
Sourcepub fn with_content_encoding(self, value: ShortString) -> Self
pub fn with_content_encoding(self, value: ShortString) -> Self
Set content-encoding (Generated)
Sourcepub fn with_headers(self, value: FieldTable) -> Self
pub fn with_headers(self, value: FieldTable) -> Self
Set headers (Generated)
Sourcepub fn with_delivery_mode(self, value: ShortShortUInt) -> Self
pub fn with_delivery_mode(self, value: ShortShortUInt) -> Self
Set delivery-mode (Generated)
Sourcepub fn with_priority(self, value: ShortShortUInt) -> Self
pub fn with_priority(self, value: ShortShortUInt) -> Self
Set priority (Generated)
Sourcepub fn with_correlation_id(self, value: ShortString) -> Self
pub fn with_correlation_id(self, value: ShortString) -> Self
Set correlation-id (Generated)
Sourcepub fn with_reply_to(self, value: ShortString) -> Self
pub fn with_reply_to(self, value: ShortString) -> Self
Set reply-to (Generated)
Sourcepub fn with_expiration(self, value: ShortString) -> Self
pub fn with_expiration(self, value: ShortString) -> Self
Set expiration (Generated)
Sourcepub fn with_message_id(self, value: ShortString) -> Self
pub fn with_message_id(self, value: ShortString) -> Self
Set message-id (Generated)
Sourcepub fn with_timestamp(self, value: Timestamp) -> Self
pub fn with_timestamp(self, value: Timestamp) -> Self
Set timestamp (Generated)
Sourcepub fn with_type(self, value: ShortString) -> Self
pub fn with_type(self, value: ShortString) -> Self
Set type (Generated)
Sourcepub fn with_user_id(self, value: ShortString) -> Self
pub fn with_user_id(self, value: ShortString) -> Self
Set user-id (Generated)
Sourcepub fn with_app_id(self, value: ShortString) -> Self
pub fn with_app_id(self, value: ShortString) -> Self
Set app-id (Generated)
Sourcepub fn with_cluster_id(self, value: ShortString) -> Self
pub fn with_cluster_id(self, value: ShortString) -> Self
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<ShortShortUInt>
pub fn delivery_mode(&self) -> &Option<ShortShortUInt>
Get delivery-mode (Generated)
Sourcepub fn priority(&self) -> &Option<ShortShortUInt>
pub fn priority(&self) -> &Option<ShortShortUInt>
Get priority (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)
Source§impl AMQPProperties
impl AMQPProperties
Sourcepub fn with_kind(self, value: ShortString) -> Self
👎Deprecated: use with_type instead
pub fn with_kind(self, value: ShortString) -> Self
deprecated: use with_type instead
Trait Implementations§
Source§impl Clone for AMQPProperties
impl Clone for AMQPProperties
Source§fn clone(&self) -> AMQPProperties
fn clone(&self) -> AMQPProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more