Crates.io | prost-msg-id |
lib.rs | prost-msg-id |
version | 0.1.3 |
source | src |
created_at | 2022-04-20 06:07:29.465298 |
updated_at | 2022-04-20 08:05:52.344066 |
description | prost impl message id. |
homepage | |
repository | https://github.com/luyikk/prost-build-type |
max_upload_size | |
id | 570795 |
size | 2,093 |
message Fail{
enum MsgId { None=0;Id = 150002; }
int64 number=1;
string message=2;
}
impl MsgId for Fail {
fn get_msg_id(&self) -> i32 {
Self::get_msg_id()
}
}