rust-grpc/datastore/datastore.rs

33 lines
1.3 KiB
Rust

// @generated
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message, serde::Serialize, serde::Deserialize)]
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)]
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)]
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)]
pub struct NullResponse {
}
include!("datastore.tonic.rs");
// @@protoc_insertion_point(module)