feat: with complete example and generated code
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
7
examples/basic-setup/src/gencrunch/basic.my_event.rs
Normal file
7
examples/basic-setup/src/gencrunch/basic.my_event.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct MyEvent {
|
||||
#[prost(string, tag="1")]
|
||||
pub name: std::string::String,
|
||||
#[prost(message, optional, tag="2")]
|
||||
pub include: ::std::option::Option<super::includes::my_include::MyInclude>,
|
||||
}
|
||||
Reference in New Issue
Block a user