Struct prost_codegen::google::protobuf::MethodDescriptorProto [] [src]

pub struct MethodDescriptorProto {
    pub name: Option<String>,
    pub input_type: Option<String>,
    pub output_type: Option<String>,
    pub options: Option<MethodOptions>,
    pub client_streaming: Option<bool>,
    pub server_streaming: Option<bool>,
}

Describes a method of a service.

Fields

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

Identifies if client streams multiple client messages

Identifies if server streams multiple server messages

Methods

impl MethodDescriptorProto
[src]

Trait Implementations

impl Clone for MethodDescriptorProto
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MethodDescriptorProto
[src]

Formats the value using the given formatter.

impl PartialEq for MethodDescriptorProto
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.