Struct async_nats::Message [−][src]
pub struct Message {
pub subject: String,
pub reply: Option<String>,
pub data: Vec<u8>,
pub headers: Option<Headers>,
// some fields omitted
}A message received on a subject.
Fields
subject: StringThe subject this message came from.
reply: Option<String>Optional reply subject that may be used for sending a response to this message.
data: Vec<u8>The message contents.
headers: Option<Headers>Optional headers associated with this Message.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Message
impl !RefUnwindSafe for Messageimpl !UnwindSafe for Message
impl !UnwindSafe for Message