rust-grpc/datastore/datastore.rs

32 lines
1.1 KiB
Rust
Raw Normal View History

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