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 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>
type_: Option<ShortString>
user_id: Option<ShortString>
app_id: Option<ShortString>
cluster_id: Option<ShortString>
Methods
impl Properties[src]
pub fn with_content_type(self, value: ShortString) -> Properties[src]
pub fn with_content_encoding(self, value: ShortString) -> Properties[src]
pub fn with_headers(self, value: FieldTable) -> Properties[src]
pub fn with_delivery_mode(self, value: ShortShortUInt) -> Properties[src]
pub fn with_priority(self, value: ShortShortUInt) -> Properties[src]
pub fn with_correlation_id(self, value: ShortString) -> Properties[src]
pub fn with_reply_to(self, value: ShortString) -> Properties[src]
pub fn with_expiration(self, value: ShortString) -> Properties[src]
pub fn with_message_id(self, value: ShortString) -> Properties[src]
pub fn with_timestamp(self, value: Timestamp) -> Properties[src]
pub fn with_type_(self, value: ShortString) -> Properties[src]
pub fn with_user_id(self, value: ShortString) -> Properties[src]
pub fn with_app_id(self, value: ShortString) -> Properties[src]
pub fn with_cluster_id(self, value: ShortString) -> Properties[src]
pub fn bitmask(&self) -> ShortUInt[src]
Trait Implementations
impl Clone for Properties[src]
fn clone(&self) -> Properties[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Properties[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Properties[src]
fn eq(&self, __arg_0: &Properties) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Properties) -> bool[src]
This method tests for !=.
impl Default for Properties[src]
fn default() -> Properties[src]
Returns the "default value" for a type. Read more