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.
- Oneof
TryInto CelValue cel - Adds conversion functions into
cel::Valuefor oneofs. - TryInto
CelValue cel - Adds conversion functions into
cel::Valuefor messages.