Struct prost_build::Service
source · pub struct Service {
pub name: String,
pub proto_name: String,
pub package: String,
pub comments: Comments,
pub methods: Vec<Method>,
pub options: ServiceOptions,
}
Expand description
A service descriptor.
Fields§
§name: String
The service name in Rust style.
proto_name: String
The service name as it appears in the .proto file.
package: String
The package name as it appears in the .proto file.
comments: Comments
The service comments.
methods: Vec<Method>
The service methods.
options: ServiceOptions
The service options.