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