1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeliverMessage {
#[prost(message, optional, tag="1")]
pub message: ::std::option::Option<BrokerMessage>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PublishMessage {
#[prost(message, optional, tag="2")]
pub message: ::std::option::Option<BrokerMessage>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BrokerMessage {
#[prost(string, tag="1")]
pub subject: std::string::String,
#[prost(string, tag="2")]
pub reply_to: std::string::String,
#[prost(bytes, tag="3")]
pub body: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestMessage {
#[prost(string, tag="1")]
pub subject: std::string::String,
#[prost(bytes, tag="2")]
pub body: std::vec::Vec<u8>,
#[prost(int64, tag="3")]
pub timeout_ms: i64,
}