message is required
This commit is contained in:
parent
5aae301242
commit
40fe5e8e86
|
@ -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>>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user