pub struct Properties {Show 13 fields
pub message_id: Option<MessageId>,
pub user_id: Option<Bytes>,
pub to: Option<Address>,
pub subject: Option<ByteString>,
pub reply_to: Option<Address>,
pub correlation_id: Option<MessageId>,
pub content_type: Option<Symbol>,
pub content_encoding: Option<Symbol>,
pub absolute_expiry_time: Option<Timestamp>,
pub creation_time: Option<Timestamp>,
pub group_id: Option<ByteString>,
pub group_sequence: Option<SequenceNo>,
pub reply_to_group_id: Option<ByteString>,
}
Fields§
§message_id: Option<MessageId>
§user_id: Option<Bytes>
§to: Option<Address>
§subject: Option<ByteString>
§reply_to: Option<Address>
§correlation_id: Option<MessageId>
§content_type: Option<Symbol>
§content_encoding: Option<Symbol>
§absolute_expiry_time: Option<Timestamp>
§creation_time: Option<Timestamp>
§group_id: Option<ByteString>
§group_sequence: Option<SequenceNo>
§reply_to_group_id: Option<ByteString>
Implementations§
Source§impl Properties
impl Properties
pub fn message_id(&self) -> Option<&MessageId>
pub fn user_id(&self) -> Option<&Bytes>
pub fn to(&self) -> Option<&Address>
pub fn subject(&self) -> Option<&ByteString>
pub fn reply_to(&self) -> Option<&Address>
pub fn correlation_id(&self) -> Option<&MessageId>
pub fn content_type(&self) -> Option<&Symbol>
pub fn content_encoding(&self) -> Option<&Symbol>
pub fn absolute_expiry_time(&self) -> Option<Timestamp>
pub fn creation_time(&self) -> Option<Timestamp>
pub fn group_id(&self) -> Option<&ByteString>
pub fn group_sequence(&self) -> Option<SequenceNo>
pub fn reply_to_group_id(&self) -> Option<&ByteString>
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 Default for Properties
impl Default for Properties
Source§fn default() -> Properties
fn default() -> Properties
Returns the “default value” for a type. Read more
Source§impl Encode for Properties
impl Encode 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