Struct protobuf::descriptor::ServiceDescriptorProto [] [src]

pub struct ServiceDescriptorProto {
    // some fields omitted
}

Methods

impl ServiceDescriptorProto
[src]

fn new() -> ServiceDescriptorProto

fn default_instance() -> &'static ServiceDescriptorProto

fn clear_name(&mut self)

fn has_name(&self) -> bool

fn set_name(&mut self, v: String)

fn mut_name(&mut self) -> &mut String

fn take_name(&mut self) -> String

fn get_name(&self) -> &str

fn clear_method(&mut self)

fn set_method(&mut self, v: RepeatedField<MethodDescriptorProto>)

fn mut_method(&mut self) -> &mut RepeatedField<MethodDescriptorProto>

fn take_method(&mut self) -> RepeatedField<MethodDescriptorProto>

fn get_method(&self) -> &[MethodDescriptorProto]

fn clear_options(&mut self)

fn has_options(&self) -> bool

fn set_options(&mut self, v: ServiceOptions)

fn mut_options(&mut self) -> &mut ServiceOptions

fn take_options(&mut self) -> ServiceOptions

fn get_options(&self) -> &ServiceOptions

Trait Implementations

impl Default for ServiceDescriptorProto
[src]

fn default() -> ServiceDescriptorProto

Returns the "default value" for a type. Read more

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 Sync for ServiceDescriptorProto
[src]

impl Message for ServiceDescriptorProto
[src]

impl MessageStatic for ServiceDescriptorProto
[src]

impl Clear for ServiceDescriptorProto
[src]

fn clear(&mut self)

impl PartialEq for ServiceDescriptorProto
[src]

fn eq(&self, other: &ServiceDescriptorProto) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for ServiceDescriptorProto
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.