Struct prost_build::Method [] [src]

pub struct Method {
    pub name: String,
    pub proto_name: String,
    pub comments: Comments,
    pub input_type: String,
    pub output_type: String,
    pub input_proto_type: String,
    pub output_proto_type: String,
    pub options: MethodOptions,
    pub client_streaming: bool,
    pub server_streaming: bool,
}

A service method descriptor.

Fields

The name of the method in Rust style.

The name of the method as it appears in the .proto file.

The method comments.

The input Rust type.

The output Rust type.

The input Protobuf type.

The output Protobuf type.

The method options.

Identifies if client streams multiple client messages.

Identifies if server streams multiple server messages.

Trait Implementations

impl Debug for Method
[src]

[src]

Formats the value using the given formatter.