Struct dove::message::MessageProperties
source · pub struct MessageProperties {Show 13 fields
pub message_id: Option<Value>,
pub user_id: Option<Vec<u8>>,
pub to: Option<String>,
pub subject: Option<String>,
pub reply_to: Option<String>,
pub correlation_id: Option<Value>,
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<String>,
pub group_sequence: Option<u32>,
pub reply_to_group_id: Option<String>,
}
Fields§
§message_id: Option<Value>
§user_id: Option<Vec<u8>>
§to: Option<String>
§subject: Option<String>
§reply_to: Option<String>
§correlation_id: Option<Value>
§content_type: Option<Symbol>
§content_encoding: Option<Symbol>
§absolute_expiry_time: Option<Timestamp>
§creation_time: Option<Timestamp>
§group_id: Option<String>
§group_sequence: Option<u32>
§reply_to_group_id: Option<String>
Implementations§
source§impl MessageProperties
impl MessageProperties
pub fn encode(&self, writer: &mut dyn Write) -> Result<()>
pub fn decode(decoder: FrameDecoder<'_>) -> Result<MessageProperties>
Trait Implementations§
source§impl Clone for MessageProperties
impl Clone for MessageProperties
source§fn clone(&self) -> MessageProperties
fn clone(&self) -> MessageProperties
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 moreAuto Trait Implementations§
impl RefUnwindSafe for MessageProperties
impl Send for MessageProperties
impl Sync for MessageProperties
impl Unpin for MessageProperties
impl UnwindSafe for MessageProperties
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