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

pub struct ServiceDescriptorProto {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServiceDescriptorProto[src]

pub fn new() -> ServiceDescriptorProto[src]

pub fn get_name(&self) -> &str[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_method(&self) -> &[MethodDescriptorProto]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[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_options(&self) -> &ServiceOptions[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]

Trait Implementations

impl Clear for ServiceDescriptorProto[src]

impl Clone for ServiceDescriptorProto[src]

impl Debug for ServiceDescriptorProto[src]

impl Default for ServiceDescriptorProto[src]

impl<'a> Default for &'a ServiceDescriptorProto[src]

impl Message for ServiceDescriptorProto[src]

impl PartialEq<ServiceDescriptorProto> for ServiceDescriptorProto[src]

impl ProtobufValue for ServiceDescriptorProto[src]

impl StructuralPartialEq for ServiceDescriptorProto[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceDescriptorProto

impl Send for ServiceDescriptorProto

impl Sync for ServiceDescriptorProto

impl Unpin for ServiceDescriptorProto

impl UnwindSafe for ServiceDescriptorProto

Blanket Implementations

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

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

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

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.