Struct grpc_etcd::rpc::RangeResponse
[−]
[src]
pub struct RangeResponse {
pub header: SingularPtrField<ResponseHeader>,
pub kvs: RepeatedField<KeyValue>,
pub more: bool,
pub count: i64,
// some fields omitted
}Fields
header: SingularPtrField<ResponseHeader>
kvs: RepeatedField<KeyValue>
more: bool
count: i64
Methods
impl RangeResponse[src]
fn new() -> RangeResponse
fn default_instance() -> &'static RangeResponse
fn clear_header(&mut self)
fn has_header(&self) -> bool
fn set_header(&mut self, v: ResponseHeader)
fn mut_header(&mut self) -> &mut ResponseHeader
fn take_header(&mut self) -> ResponseHeader
fn get_header(&self) -> &ResponseHeader
fn clear_kvs(&mut self)
fn set_kvs(&mut self, v: RepeatedField<KeyValue>)
fn mut_kvs(&mut self) -> &mut RepeatedField<KeyValue>
fn take_kvs(&mut self) -> RepeatedField<KeyValue>
fn get_kvs(&self) -> &[KeyValue]
fn clear_more(&mut self)
fn set_more(&mut self, v: bool)
fn get_more(&self) -> bool
fn clear_count(&mut self)
fn set_count(&mut self, v: i64)
fn get_count(&self) -> i64
Trait Implementations
impl PartialEq for RangeResponse[src]
fn eq(&self, __arg_0: &RangeResponse) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RangeResponse) -> bool
This method tests for !=.
impl Clone for RangeResponse[src]
fn clone(&self) -> RangeResponse
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 RangeResponse[src]
fn default() -> RangeResponse
Returns the "default value" for a type. Read more
impl Sync for RangeResponse[src]
impl Message for RangeResponse[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<()>
&self,
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 as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
&self,
w: &mut Write
) -> Result<(), ProtobufError>