#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OrderLog {
#[prost(int64, tag="1")]
pub id: i64,
#[prost(message, optional, tag="2")]
pub log_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
#[prost(string, tag="3")]
pub log_type: ::prost::alloc::string::String,
#[prost(string, tag="4")]
pub event_type: ::prost::alloc::string::String,
#[prost(double, tag="5")]
pub execution_quantity: f64,
#[prost(double, tag="6")]
pub execution_price: f64,
#[prost(int64, tag="10")]
pub order_id: i64,
#[prost(string, tag="11")]
pub original_order_id: ::prost::alloc::string::String,
#[prost(string, tag="12")]
pub action: ::prost::alloc::string::String,
#[prost(string, tag="13")]
pub side: ::prost::alloc::string::String,
#[prost(string, tag="14")]
pub fund_code: ::prost::alloc::string::String,
#[prost(string, tag="15")]
pub market_operation_code: ::prost::alloc::string::String,
#[prost(string, tag="16")]
pub product_code: ::prost::alloc::string::String,
#[prost(string, tag="17")]
pub product_name: ::prost::alloc::string::String,
#[prost(double, tag="18")]
pub order_price: f64,
#[prost(double, tag="19")]
pub order_quantity: f64,
#[prost(double, tag="20")]
pub unfilled: f64,
#[prost(double, tag="21")]
pub filled: f64,
#[prost(string, tag="22")]
pub status: ::prost::alloc::string::String,
#[prost(bool, tag="23")]
pub borrowed: bool,
#[prost(bool, tag="24")]
pub auto: bool,
#[prost(bool, tag="25")]
pub accepted: bool,
#[prost(bool, tag="26")]
pub lp: bool,
#[prost(int32, tag="27")]
pub ask_type_type: i32,
#[prost(int32, tag="28")]
pub program_type: i32,
#[prost(string, tag="29")]
pub tag: ::prost::alloc::string::String,
#[prost(double, tag="30")]
pub original_price: f64,
#[prost(int32, tag="31")]
pub user_code: i32,
#[prost(string, tag="32")]
pub user_trimmed_ip: ::prost::alloc::string::String,
#[prost(int32, tag="34")]
pub smp_type: i32,
#[prost(string, tag="35")]
pub server_ip: ::prost::alloc::string::String,
#[prost(message, optional, tag="40")]
pub create_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
#[prost(message, optional, tag="41")]
pub submit_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
#[prost(message, optional, tag="42")]
pub process_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
#[prost(message, optional, tag="43")]
pub last_trade_notify_time: ::core::option::Option<super::super::super::google::protobuf::Timestamp>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListOrderLogsRequest {
#[prost(int32, tag="1")]
pub page_size: i32,
#[prost(string, tag="2")]
pub page_token: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub filter: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListOrderLogsResponse {
#[prost(message, repeated, tag="1")]
pub order_logs: ::prost::alloc::vec::Vec<OrderLog>,
#[prost(string, tag="2")]
pub next_page_token: ::prost::alloc::string::String,
}
include!("log_sync.v1.order_log.tonic.rs");
include!("log_sync.v1.order_log.serde.rs");