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: StringThe service name in Rust style.
proto_name: StringThe service name as it appears in the .proto file.
package: StringThe package name as it appears in the .proto file.
comments: CommentsThe service comments.
methods: Vec<Method>The service methods.
options: ServiceOptionsThe service options.