Crate protocheck_proc_macro

Crate protocheck_proc_macro 

Source
Expand description

§⚙️ Protocheck-proc-macro

This crate is the proc-macro engine behind protocheck. You do not need to use this crate directly, as it is re-exported by protocheck. You can refer to the main docs to learn more about how to get started.

Attribute Macros§

protobuf_validate
Adds the validation methods to the generated protobuf message structs.
protobuf_validate_oneof
Adds validation methods to oneofs contained in messages with validators.

Derive Macros§

Oneof
Adds the protobuf field name of the corresponding rust enum variant for a oneof.
OneofTryIntoCelValuecel
Adds conversion functions into cel::Value for oneofs.
TryIntoCelValuecel
Adds conversion functions into cel::Value for messages.