Struct lapin_async::generated::basic::Properties
[−]
[src]
pub struct Properties { pub content_type: Option<ShortString>, pub content_encoding: Option<ShortString>, pub headers: Option<FieldTable>, pub delivery_mode: Option<ShortShortUInt>, pub priority: Option<ShortShortUInt>, pub correlation_id: Option<ShortString>, pub reply_to: Option<ShortString>, pub expiration: Option<ShortString>, pub message_id: Option<ShortString>, pub timestamp: Option<Timestamp>, pub amqp_type: Option<ShortString>, pub user_id: Option<ShortString>, pub app_id: Option<ShortString>, pub cluster_id: Option<ShortString>, }
Fields
content_type: Option<ShortString>
content_encoding: Option<ShortString>
headers: Option<FieldTable>
delivery_mode: Option<ShortShortUInt>
priority: Option<ShortShortUInt>
correlation_id: Option<ShortString>
reply_to: Option<ShortString>
expiration: Option<ShortString>
message_id: Option<ShortString>
timestamp: Option<Timestamp>
amqp_type: Option<ShortString>
user_id: Option<ShortString>
app_id: Option<ShortString>
cluster_id: Option<ShortString>
Methods
impl Properties
[src]
fn with_content_type(self, value: ShortString) -> Properties
fn with_content_encoding(self, value: ShortString) -> Properties
fn with_headers(self, value: FieldTable) -> Properties
fn with_delivery_mode(self, value: ShortShortUInt) -> Properties
fn with_priority(self, value: ShortShortUInt) -> Properties
fn with_correlation_id(self, value: ShortString) -> Properties
fn with_reply_to(self, value: ShortString) -> Properties
fn with_expiration(self, value: ShortString) -> Properties
fn with_message_id(self, value: ShortString) -> Properties
fn with_timestamp(self, value: Timestamp) -> Properties
fn with_amqp_type(self, value: ShortString) -> Properties
fn with_user_id(self, value: ShortString) -> Properties
fn with_app_id(self, value: ShortString) -> Properties
fn with_cluster_id(self, value: ShortString) -> Properties
fn bitmask(&self) -> ShortUInt
Trait Implementations
impl Clone for Properties
[src]
fn clone(&self) -> Properties
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Properties
[src]
impl PartialEq for Properties
[src]
fn eq(&self, __arg_0: &Properties) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Properties) -> bool
This method tests for !=
.
impl Default for Properties
[src]
fn default() -> Properties
Returns the "default value" for a type. Read more