Macros§
- define_
proto_ file - Creates a new proto file schema, and brings it into scope for the items that are defined in the same module.
- proto_
package - Creates a new package handle, which is used to collect the proto schemas in a crate.
Attribute Macros§
- proto_
enum - Enables protobuf schema and validation features for the target enum.
- proto_
extension - Implements the
ProtoExtensiontrait for the given struct. - proto_
message - Implements protobuf schema and validation features for a rust struct.
- proto_
oneof - Implements protobuf schema and validation features for a rust enum.
- proto_
service - Implements
ProtoServicefor the given enum.
Derive Macros§
- CelOneof
cel - Implements the
CelOneoftrait on an enum. - CelValue
cel - Implements the
CelValuetrait on a struct. - Proto
Enum reflection - Implements
ProtoEnum. - Validated
Message reflection - Implements
ValidatedMessageon a struct. - Validated
Oneof reflection - Implements
ValidatedOneofon an enum.