[][src]Struct wascc_codec::messaging::BrokerMessage

pub struct BrokerMessage {
    pub subject: String,
    pub reply_to: String,
    pub body: Vec<u8>,
}

A representation of a broker message

Fields

subject: String

The subject on which the broker message resides

reply_to: String

A reply-to for the message (empty if not applicable)

body: Vec<u8>

The body of the message as a blob of bytes

Trait Implementations

impl Clone for BrokerMessage[src]

impl Debug for BrokerMessage[src]

impl Default for BrokerMessage[src]

impl Message for BrokerMessage[src]

impl PartialEq<BrokerMessage> for BrokerMessage[src]

impl StructuralPartialEq for BrokerMessage[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.