Struct tapa_cgloop_nats::NatsMessage [−][src]
pub struct NatsMessage {
pub subject: String,
pub reply: Option<String>,
pub data: Vec<u8, Global>,
pub headers: Option<Headers>,
// some fields omitted
}
Expand description
A message received on a subject.
Fields
subject: String
The 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, Global>
The message contents.
headers: Option<Headers>
Optional headers associated with this Message
.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Message
impl !UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more