Struct dove::message::MessageProperties[][src]

pub struct MessageProperties {
    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<u64>,
    pub creation_time: Option<u64>,
    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<u64>creation_time: Option<u64>group_id: Option<String>group_sequence: Option<u32>reply_to_group_id: Option<String>

Implementations

impl MessageProperties[src]

pub fn encode(&self, writer: &mut dyn Write) -> Result<()>[src]

pub fn decode(decoder: FrameDecoder<'_>) -> Result<MessageProperties>[src]

Trait Implementations

impl Clone for MessageProperties[src]

impl Debug for MessageProperties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,