Struct protobuf::descriptor::MethodDescriptorProto
[−]
[src]
pub struct MethodDescriptorProto { /* fields omitted */ }
Methods
impl MethodDescriptorProto
[src]
fn new() -> MethodDescriptorProto
[src]
fn default_instance() -> &'static MethodDescriptorProto
[src]
fn clear_name(&mut self)
[src]
fn has_name(&self) -> bool
[src]
fn set_name(&mut self, v: String)
[src]
fn mut_name(&mut self) -> &mut String
[src]
fn take_name(&mut self) -> String
[src]
fn get_name(&self) -> &str
[src]
fn clear_input_type(&mut self)
[src]
fn has_input_type(&self) -> bool
[src]
fn set_input_type(&mut self, v: String)
[src]
fn mut_input_type(&mut self) -> &mut String
[src]
fn take_input_type(&mut self) -> String
[src]
fn get_input_type(&self) -> &str
[src]
fn clear_output_type(&mut self)
[src]
fn has_output_type(&self) -> bool
[src]
fn set_output_type(&mut self, v: String)
[src]
fn mut_output_type(&mut self) -> &mut String
[src]
fn take_output_type(&mut self) -> String
[src]
fn get_output_type(&self) -> &str
[src]
fn clear_options(&mut self)
[src]
fn has_options(&self) -> bool
[src]
fn set_options(&mut self, v: MethodOptions)
[src]
fn mut_options(&mut self) -> &mut MethodOptions
[src]
fn take_options(&mut self) -> MethodOptions
[src]
fn get_options(&self) -> &MethodOptions
[src]
fn clear_client_streaming(&mut self)
[src]
fn has_client_streaming(&self) -> bool
[src]
fn set_client_streaming(&mut self, v: bool)
[src]
fn get_client_streaming(&self) -> bool
[src]
fn clear_server_streaming(&mut self)
[src]
fn has_server_streaming(&self) -> bool
[src]
fn set_server_streaming(&mut self, v: bool)
[src]
fn get_server_streaming(&self) -> bool
[src]
Trait Implementations
impl PartialEq for MethodDescriptorProto
[src]
fn eq(&self, __arg_0: &MethodDescriptorProto) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MethodDescriptorProto) -> bool
[src]
This method tests for !=
.
impl Clone for MethodDescriptorProto
[src]
fn clone(&self) -> MethodDescriptorProto
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for MethodDescriptorProto
[src]
fn default() -> MethodDescriptorProto
[src]
Returns the "default value" for a type. Read more
impl Sync for MethodDescriptorProto
[src]
impl Message for MethodDescriptorProto
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &Any
[src]
fn as_any_mut(&mut self) -> &mut Any
[src]
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> ProtobufResult<()>
[src]
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
[src]
fn check_initialized(&self) -> ProtobufResult<()>
[src]
fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>
[src]
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>
[src]
fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
[src]
fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>
[src]
fn type_id(&self) -> TypeId
[src]
impl MessageStatic for MethodDescriptorProto
[src]
fn new() -> MethodDescriptorProto
[src]
fn descriptor_static(
_: Option<MethodDescriptorProto>
) -> &'static MessageDescriptor
[src]
_: Option<MethodDescriptorProto>
) -> &'static MessageDescriptor