[][src]Struct protobuf::descriptor::MethodDescriptorProto

pub struct MethodDescriptorProto { /* fields omitted */ }

Methods

impl MethodDescriptorProto[src]

pub fn new() -> MethodDescriptorProto[src]

pub fn default_instance() -> &'static MethodDescriptorProto[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_input_type(&mut self)[src]

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

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

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

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

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

pub fn clear_output_type(&mut self)[src]

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

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

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

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

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

pub fn clear_options(&mut self)[src]

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

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

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

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

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

pub fn clear_client_streaming(&mut self)[src]

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

pub fn set_client_streaming(&mut self, v: bool)[src]

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

pub fn clear_server_streaming(&mut self)[src]

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

pub fn set_server_streaming(&mut self, v: bool)[src]

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

Trait Implementations

impl Message for MethodDescriptorProto[src]

impl MessageStatic for MethodDescriptorProto[src]

impl Clear for MethodDescriptorProto[src]

impl ProtobufValue for MethodDescriptorProto[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 MethodDescriptorProto[src]

impl Sync for MethodDescriptorProto[src]

impl Clone for MethodDescriptorProto[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<MethodDescriptorProto> for MethodDescriptorProto[src]

impl Debug for MethodDescriptorProto[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]