Struct rust_abci::types::ResponseInfo
[−]
[src]
pub struct ResponseInfo { pub data: String, pub version: String, pub last_block_height: u64, pub last_block_app_hash: Vec<u8>, // some fields omitted }
Fields
data: String
version: String
last_block_height: u64
last_block_app_hash: Vec<u8>
Methods
impl ResponseInfo
[src]
fn new() -> ResponseInfo
fn default_instance() -> &'static ResponseInfo
fn clear_data(&mut self)
fn set_data(&mut self, v: String)
fn mut_data(&mut self) -> &mut String
fn take_data(&mut self) -> String
fn get_data(&self) -> &str
fn clear_version(&mut self)
fn set_version(&mut self, v: String)
fn mut_version(&mut self) -> &mut String
fn take_version(&mut self) -> String
fn get_version(&self) -> &str
fn clear_last_block_height(&mut self)
fn set_last_block_height(&mut self, v: u64)
fn get_last_block_height(&self) -> u64
fn clear_last_block_app_hash(&mut self)
fn set_last_block_app_hash(&mut self, v: Vec<u8>)
fn mut_last_block_app_hash(&mut self) -> &mut Vec<u8>
fn take_last_block_app_hash(&mut self) -> Vec<u8>
fn get_last_block_app_hash(&self) -> &[u8]
Trait Implementations
impl PartialEq for ResponseInfo
[src]
fn eq(&self, __arg_0: &ResponseInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResponseInfo) -> bool
This method tests for !=
.
impl Clone for ResponseInfo
[src]
fn clone(&self) -> ResponseInfo
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 ResponseInfo
[src]
fn default() -> ResponseInfo
Returns the "default value" for a type. Read more
impl Sync for ResponseInfo
[src]
impl Message for ResponseInfo
[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>