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

pub struct ServiceDescriptorProto { /* fields omitted */ }

Methods

impl ServiceDescriptorProto[src]

pub fn new() -> ServiceDescriptorProto[src]

pub fn default_instance() -> &'static ServiceDescriptorProto[src]

pub fn clear_name(&mut self)[src]

pub fn has_name(&self) -> bool[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_method(&mut self)[src]

pub fn set_method(&mut self, v: RepeatedField<MethodDescriptorProto>)[src]

pub fn mut_method(&mut self) -> &mut RepeatedField<MethodDescriptorProto>[src]

pub fn take_method(&mut self) -> RepeatedField<MethodDescriptorProto>[src]

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

pub fn clear_options(&mut self)[src]

pub fn has_options(&self) -> bool[src]

pub fn set_options(&mut self, v: ServiceOptions)[src]

pub fn mut_options(&mut self) -> &mut ServiceOptions[src]

pub fn take_options(&mut self) -> ServiceOptions[src]

pub fn get_options(&self) -> &ServiceOptions[src]

Trait Implementations

impl Message for ServiceDescriptorProto[src]

impl MessageStatic for ServiceDescriptorProto[src]

impl Clear for ServiceDescriptorProto[src]

impl ProtobufValue for ServiceDescriptorProto[src]

fn as_any(&self) -> &dyn Any[src]

fn is_non_zero(&self) -> bool[src]

fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]

impl Default for ServiceDescriptorProto[src]

impl Sync for ServiceDescriptorProto[src]

impl Clone for ServiceDescriptorProto[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<ServiceDescriptorProto> for ServiceDescriptorProto[src]

impl Debug for ServiceDescriptorProto[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]