[][src]Struct protobuf::well_known_types::Method

pub struct Method {
    pub name: String,
    pub request_type_url: String,
    pub request_streaming: bool,
    pub response_type_url: String,
    pub response_streaming: bool,
    pub options: RepeatedField<Option>,
    pub syntax: Syntax,
    // some fields omitted
}

Fields

name: Stringrequest_type_url: Stringrequest_streaming: boolresponse_type_url: Stringresponse_streaming: booloptions: RepeatedField<Option>syntax: Syntax

Methods

impl Method[src]

pub fn new() -> Method[src]

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

pub fn clear_name(&mut self)[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_request_type_url(&mut self)[src]

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

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

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

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

pub fn clear_request_streaming(&mut self)[src]

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

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

pub fn clear_response_type_url(&mut self)[src]

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

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

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

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

pub fn clear_response_streaming(&mut self)[src]

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

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

pub fn clear_options(&mut self)[src]

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

pub fn mut_options(&mut self) -> &mut RepeatedField<Option>[src]

pub fn take_options(&mut self) -> RepeatedField<Option>[src]

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

pub fn clear_syntax(&mut self)[src]

pub fn set_syntax(&mut self, v: Syntax)[src]

pub fn get_syntax(&self) -> Syntax[src]

Trait Implementations

impl Message for Method[src]

impl MessageStatic for Method[src]

impl Clear for Method[src]

impl ProtobufValue for Method[src]

impl Default for Method[src]

impl Sync for Method[src]

impl Clone for Method[src]

impl PartialEq<Method> for Method[src]

impl Debug for Method[src]

Auto Trait Implementations

impl Send for Method

impl Unpin for Method

impl UnwindSafe for Method

impl !RefUnwindSafe for Method

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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]