Skip to main content

Crate protify_proc_macro

Crate protify_proc_macro 

Source

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 ProtoExtension trait 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 ProtoService for the given enum.

Derive Macros§

CelOneofcel
Implements the CelOneof trait on an enum.
CelValuecel
Implements the CelValue trait on a struct.
ProtoEnumreflection
Implements ProtoEnum.
ValidatedMessagereflection
Implements ValidatedMessage on a struct.
ValidatedOneofreflection
Implements ValidatedOneof on an enum.