From 40fe5e8e86f321959c2b8952e44d072b632deb36 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 4 Aug 2022 08:51:38 +0000 Subject: [PATCH] message is required --- src/protobuf/rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protobuf/rpc.rs b/src/protobuf/rpc.rs index 744ce52..83c69d3 100644 --- a/src/protobuf/rpc.rs +++ b/src/protobuf/rpc.rs @@ -3,8 +3,8 @@ use std::fmt; pub struct Error { #[prost(int32, tag = "1")] pub code: i32, - #[prost(string, optional, tag = "2")] - pub message: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag = "2")] + pub message: ::prost::alloc::string::String, #[prost(bytes = "vec", optional, tag = "3")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, }