1#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct OrderLog {
6 #[prost(int64, tag="1")]
7 pub id: i64,
8 #[prost(message, optional, tag="2")]
10 pub log_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
11 #[prost(string, tag="3")]
13 pub log_type: ::prost::alloc::string::String,
14 #[prost(string, tag="4")]
16 pub event_type: ::prost::alloc::string::String,
17 #[prost(double, tag="5")]
19 pub execution_quantity: f64,
20 #[prost(double, tag="6")]
22 pub execution_price: f64,
23 #[prost(int64, tag="10")]
25 pub order_id: i64,
26 #[prost(string, tag="11")]
28 pub original_order_id: ::prost::alloc::string::String,
29 #[prost(string, tag="12")]
31 pub action: ::prost::alloc::string::String,
32 #[prost(string, tag="13")]
34 pub side: ::prost::alloc::string::String,
35 #[prost(string, tag="14")]
37 pub fund_code: ::prost::alloc::string::String,
38 #[prost(string, tag="15")]
40 pub market_operation_code: ::prost::alloc::string::String,
41 #[prost(string, tag="16")]
43 pub product_code: ::prost::alloc::string::String,
44 #[prost(string, tag="17")]
46 pub product_name: ::prost::alloc::string::String,
47 #[prost(double, tag="18")]
49 pub order_price: f64,
50 #[prost(double, tag="19")]
52 pub order_quantity: f64,
53 #[prost(double, tag="20")]
55 pub unfilled: f64,
56 #[prost(double, tag="21")]
58 pub filled: f64,
59 #[prost(string, tag="22")]
61 pub status: ::prost::alloc::string::String,
62 #[prost(bool, tag="23")]
64 pub borrowed: bool,
65 #[prost(bool, tag="24")]
67 pub auto: bool,
68 #[prost(bool, tag="25")]
70 pub accepted: bool,
71 #[prost(bool, tag="26")]
73 pub lp: bool,
74 #[prost(int32, tag="27")]
76 pub ask_type_type: i32,
77 #[prost(int32, tag="28")]
79 pub program_type: i32,
80 #[prost(string, tag="29")]
82 pub tag: ::prost::alloc::string::String,
83 #[prost(double, tag="30")]
85 pub original_price: f64,
86 #[prost(int32, tag="31")]
88 pub user_code: i32,
89 #[prost(string, tag="32")]
91 pub user_trimmed_ip: ::prost::alloc::string::String,
92 #[prost(int32, tag="34")]
94 pub smp_type: i32,
95 #[prost(string, tag="35")]
97 pub server_ip: ::prost::alloc::string::String,
98 #[prost(message, optional, tag="40")]
100 pub create_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
101 #[prost(message, optional, tag="41")]
103 pub submit_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
104 #[prost(message, optional, tag="42")]
106 pub process_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
107 #[prost(message, optional, tag="43")]
109 pub last_trade_notify_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
110}
111#[allow(clippy::derive_partial_eq_without_eq)]
113#[derive(Clone, PartialEq, ::prost::Message)]
114pub struct ListOrderLogsRequest {
115 #[prost(int32, tag="1")]
120 pub page_size: i32,
121 #[prost(string, tag="2")]
129 pub page_token: ::prost::alloc::string::String,
130 #[prost(string, tag="3")]
148 pub filter: ::prost::alloc::string::String,
149}
150#[allow(clippy::derive_partial_eq_without_eq)]
152#[derive(Clone, PartialEq, ::prost::Message)]
153pub struct ListOrderLogsResponse {
154 #[prost(message, repeated, tag="1")]
156 pub order_logs: ::prost::alloc::vec::Vec<OrderLog>,
157 #[prost(string, tag="2")]
162 pub next_page_token: ::prost::alloc::string::String,
163}
164include!("log_sync.v1.order_log.tonic.rs");
165include!("log_sync.v1.order_log.serde.rs");
166