Struct prost_codegen::google::protobuf::ServiceDescriptorProto
[−]
[src]
pub struct ServiceDescriptorProto {
pub name: Option<String>,
pub method: Vec<MethodDescriptorProto>,
pub options: Option<ServiceOptions>,
}Describes a service.
Fields
name: Option<String>
method: Vec<MethodDescriptorProto>
options: Option<ServiceOptions>
Methods
impl ServiceDescriptorProto[src]
Trait Implementations
impl Clone for ServiceDescriptorProto[src]
fn clone(&self) -> ServiceDescriptorProto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ServiceDescriptorProto[src]
impl PartialEq for ServiceDescriptorProto[src]
fn eq(&self, __arg_0: &ServiceDescriptorProto) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ServiceDescriptorProto) -> bool
This method tests for !=.