Struct rust_abci::types::ResponseQuery
[−]
[src]
pub struct ResponseQuery { pub code: CodeType, pub index: i64, pub key: Vec<u8>, pub value: Vec<u8>, pub proof: Vec<u8>, pub height: u64, pub log: String, // some fields omitted }
Fields
code: CodeType
index: i64
key: Vec<u8>
value: Vec<u8>
proof: Vec<u8>
height: u64
log: String
Methods
impl ResponseQuery
[src]
fn new() -> ResponseQuery
fn default_instance() -> &'static ResponseQuery
fn clear_code(&mut self)
fn set_code(&mut self, v: CodeType)
fn get_code(&self) -> CodeType
fn clear_index(&mut self)
fn set_index(&mut self, v: i64)
fn get_index(&self) -> i64
fn clear_key(&mut self)
fn set_key(&mut self, v: Vec<u8>)
fn mut_key(&mut self) -> &mut Vec<u8>
fn take_key(&mut self) -> Vec<u8>
fn get_key(&self) -> &[u8]
fn clear_value(&mut self)
fn set_value(&mut self, v: Vec<u8>)
fn mut_value(&mut self) -> &mut Vec<u8>
fn take_value(&mut self) -> Vec<u8>
fn get_value(&self) -> &[u8]
fn clear_proof(&mut self)
fn set_proof(&mut self, v: Vec<u8>)
fn mut_proof(&mut self) -> &mut Vec<u8>
fn take_proof(&mut self) -> Vec<u8>
fn get_proof(&self) -> &[u8]
fn clear_height(&mut self)
fn set_height(&mut self, v: u64)
fn get_height(&self) -> u64
fn clear_log(&mut self)
fn set_log(&mut self, v: String)
fn mut_log(&mut self) -> &mut String
fn take_log(&mut self) -> String
fn get_log(&self) -> &str
Trait Implementations
impl PartialEq for ResponseQuery
[src]
fn eq(&self, __arg_0: &ResponseQuery) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResponseQuery) -> bool
This method tests for !=
.
impl Clone for ResponseQuery
[src]
fn clone(&self) -> ResponseQuery
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 ResponseQuery
[src]
fn default() -> ResponseQuery
Returns the "default value" for a type. Read more
impl Sync for ResponseQuery
[src]
impl Message for ResponseQuery
[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>