Crate proto_file_parser
Source - EnumDef
- Represents an enumeration definition.
Enums are a type that can have one of a predefined set of values.
- EnumValue
- Represents a single value in an enum definition.
- Field
- Represents a field within a message.
Fields are the basic components of a message.
- Message
- Represents a message definition in the proto file.
Messages are user-defined composite types.
- Method
- Represents an RPC method in a service definition.
- Proto
- Main structure representing a complete Protocol Buffer file.
Contains all the elements that can be defined in a proto file.
- ProtoParser
- Parser implementation using pest grammar rules.
This struct is used to parse Protocol Buffer files according to the grammar defined in proto.pest.
- Service
- Represents a service definition.
Services define methods that can be called remotely.
- ParserError
- Represents all possible errors that can occur during parsing and processing of proto files.
- Rule