Struct protobuf::well_known_types::Method [−][src]
Fields
name: String
request_type_url: String
request_streaming: bool
response_type_url: String
response_streaming: bool
options: RepeatedField<Option>
syntax: Syntax
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl Method
[src][−]
pub fn new() -> Method
[src]
pub fn get_name(&self) -> &str
[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_request_type_url(&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_streaming(&self) -> bool
[src]
pub fn clear_request_streaming(&mut self)
[src]
pub fn set_request_streaming(&mut self, v: bool)
[src]
pub fn get_response_type_url(&self) -> &str
[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_streaming(&self) -> bool
[src]
pub fn clear_response_streaming(&mut self)
[src]
pub fn set_response_streaming(&mut self, v: bool)
[src]
pub fn get_options(&self) -> &[Option]ⓘ
[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_syntax(&self) -> Syntax
[src]
pub fn clear_syntax(&mut self)
[src]
pub fn set_syntax(&mut self, v: Syntax)
[src]
Trait Implementations
impl Clear for Method
[src][+]
impl Clone for Method
[src][+]
impl Debug for Method
[src][+]
impl Default for Method
[src][+]
impl<'a> Default for &'a Method
[src][+]
impl Message for Method
[src][+]
impl PartialEq<Method> for Method
[src][+]
impl ProtobufValue for Method
[src][+]
impl StructuralPartialEq for Method
[src]
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,