rust-grpc/datastore/datastore.rs

37 lines
1.4 KiB
Rust
Raw Normal View History

// @generated
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct KeyMessage {
#[prost(string, tag="1")]
pub key: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct UpdateMessage {
#[prost(string, tag="1")]
pub key: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")]
pub updates: ::core::option::Option<::prost_types::Struct>,
#[prost(message, optional, tag="3")]
pub deletes: ::core::option::Option<::prost_types::Struct>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct ObjectResponse {
#[prost(string, tag="1")]
pub key: ::prost::alloc::string::String,
#[prost(message, optional, tag="2")]
pub data: ::core::option::Option<::prost_types::Struct>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct NullResponse {
}
include!("datastore.tonic.rs");
// @@protoc_insertion_point(module)