ledger_models/
fintekkers.requests.util.lock.rs1#[allow(clippy::derive_partial_eq_without_eq)]
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct LockRequestProto {
4 #[prost(string, tag = "1")]
5 pub object_class: ::prost::alloc::string::String,
6 #[prost(string, tag = "2")]
7 pub version: ::prost::alloc::string::String,
8 #[prost(message, optional, tag = "11")]
15 pub node_partition: ::core::option::Option<
16 super::super::super::models::util::lock::NodePartition,
17 >,
18 #[prost(message, optional, tag = "12")]
19 pub endpoint: ::core::option::Option<super::super::super::models::util::Endpoint>,
20}
21#[allow(clippy::derive_partial_eq_without_eq)]
22#[derive(Clone, PartialEq, ::prost::Message)]
23pub struct LockResponseProto {
24 #[prost(string, tag = "1")]
25 pub object_class: ::prost::alloc::string::String,
26 #[prost(string, tag = "2")]
27 pub version: ::prost::alloc::string::String,
28 #[prost(message, optional, tag = "3")]
30 pub get_lock_request: ::core::option::Option<LockRequestProto>,
31 #[prost(message, optional, tag = "4")]
34 pub lock_response: ::core::option::Option<
35 super::super::super::models::util::lock::NodeState,
36 >,
37 #[prost(message, optional, tag = "40")]
40 pub errors_or_warnings: ::core::option::Option<super::errors::SummaryProto>,
41}