message is required

This commit is contained in:
병준 박 2022-08-04 08:51:38 +00:00
parent 5aae301242
commit 40fe5e8e86

View File

@ -3,8 +3,8 @@ use std::fmt;
pub struct Error { pub struct Error {
#[prost(int32, tag = "1")] #[prost(int32, tag = "1")]
pub code: i32, pub code: i32,
#[prost(string, optional, tag = "2")] #[prost(string, tag = "2")]
pub message: ::core::option::Option<::prost::alloc::string::String>, pub message: ::prost::alloc::string::String,
#[prost(bytes = "vec", optional, tag = "3")] #[prost(bytes = "vec", optional, tag = "3")]
pub data: ::core::option::Option<::prost::alloc::vec::Vec<u8>>, pub data: ::core::option::Option<::prost::alloc::vec::Vec<u8>>,
} }