[][src]Struct abci::Request

pub struct Request {
    pub value: Option<Request_oneof_value>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

value: Option<Request_oneof_value>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl Request[src]

pub fn new() -> Request[src]

pub fn get_echo(&self) -> &RequestEcho[src]

pub fn clear_echo(&mut self)[src]

pub fn has_echo(&self) -> bool[src]

pub fn set_echo(&mut self, v: RequestEcho)[src]

pub fn mut_echo(&mut self) -> &mut RequestEcho[src]

pub fn take_echo(&mut self) -> RequestEcho[src]

pub fn get_flush(&self) -> &RequestFlush[src]

pub fn clear_flush(&mut self)[src]

pub fn has_flush(&self) -> bool[src]

pub fn set_flush(&mut self, v: RequestFlush)[src]

pub fn mut_flush(&mut self) -> &mut RequestFlush[src]

pub fn take_flush(&mut self) -> RequestFlush[src]

pub fn get_info(&self) -> &RequestInfo[src]

pub fn clear_info(&mut self)[src]

pub fn has_info(&self) -> bool[src]

pub fn set_info(&mut self, v: RequestInfo)[src]

pub fn mut_info(&mut self) -> &mut RequestInfo[src]

pub fn take_info(&mut self) -> RequestInfo[src]

pub fn get_set_option(&self) -> &RequestSetOption[src]

pub fn clear_set_option(&mut self)[src]

pub fn has_set_option(&self) -> bool[src]

pub fn set_set_option(&mut self, v: RequestSetOption)[src]

pub fn mut_set_option(&mut self) -> &mut RequestSetOption[src]

pub fn take_set_option(&mut self) -> RequestSetOption[src]

pub fn get_init_chain(&self) -> &RequestInitChain[src]

pub fn clear_init_chain(&mut self)[src]

pub fn has_init_chain(&self) -> bool[src]

pub fn set_init_chain(&mut self, v: RequestInitChain)[src]

pub fn mut_init_chain(&mut self) -> &mut RequestInitChain[src]

pub fn take_init_chain(&mut self) -> RequestInitChain[src]

pub fn get_query(&self) -> &RequestQuery[src]

pub fn clear_query(&mut self)[src]

pub fn has_query(&self) -> bool[src]

pub fn set_query(&mut self, v: RequestQuery)[src]

pub fn mut_query(&mut self) -> &mut RequestQuery[src]

pub fn take_query(&mut self) -> RequestQuery[src]

pub fn get_begin_block(&self) -> &RequestBeginBlock[src]

pub fn clear_begin_block(&mut self)[src]

pub fn has_begin_block(&self) -> bool[src]

pub fn set_begin_block(&mut self, v: RequestBeginBlock)[src]

pub fn mut_begin_block(&mut self) -> &mut RequestBeginBlock[src]

pub fn take_begin_block(&mut self) -> RequestBeginBlock[src]

pub fn get_check_tx(&self) -> &RequestCheckTx[src]

pub fn clear_check_tx(&mut self)[src]

pub fn has_check_tx(&self) -> bool[src]

pub fn set_check_tx(&mut self, v: RequestCheckTx)[src]

pub fn mut_check_tx(&mut self) -> &mut RequestCheckTx[src]

pub fn take_check_tx(&mut self) -> RequestCheckTx[src]

pub fn get_deliver_tx(&self) -> &RequestDeliverTx[src]

pub fn clear_deliver_tx(&mut self)[src]

pub fn has_deliver_tx(&self) -> bool[src]

pub fn set_deliver_tx(&mut self, v: RequestDeliverTx)[src]

pub fn mut_deliver_tx(&mut self) -> &mut RequestDeliverTx[src]

pub fn take_deliver_tx(&mut self) -> RequestDeliverTx[src]

pub fn get_end_block(&self) -> &RequestEndBlock[src]

pub fn clear_end_block(&mut self)[src]

pub fn has_end_block(&self) -> bool[src]

pub fn set_end_block(&mut self, v: RequestEndBlock)[src]

pub fn mut_end_block(&mut self) -> &mut RequestEndBlock[src]

pub fn take_end_block(&mut self) -> RequestEndBlock[src]

pub fn get_commit(&self) -> &RequestCommit[src]

pub fn clear_commit(&mut self)[src]

pub fn has_commit(&self) -> bool[src]

pub fn set_commit(&mut self, v: RequestCommit)[src]

pub fn mut_commit(&mut self) -> &mut RequestCommit[src]

pub fn take_commit(&mut self) -> RequestCommit[src]

Trait Implementations

impl Default for Request[src]

impl<'a> Default for &'a Request[src]

impl Clone for Request[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Request> for Request[src]

impl Debug for Request[src]

impl Message for Request[src]

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]

Write the message to the stream. Read more

fn write_length_delimited_to(
    &self,
    os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]

Write the message to the stream prepending the message with message length encoded as varint. Read more

fn write_length_delimited_to_vec(
    &self,
    vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]

Write the message to the vec, prepend the message with message length encoded as varint. Read more

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]

Update this message object with fields read from given stream.

fn check_initialized(&self) -> Result<(), ProtobufError>[src]

Check if all required fields of this object are initialized.

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]

Write the message to the writer.

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]

Write the message to bytes vec.

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]

Write the message to bytes vec.

fn write_length_delimited_to_writer(
    &self,
    w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]

Write the message to the writer, prepend the message with message length encoded as varint. Read more

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]

Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more

fn type_id(&self) -> TypeId[src]

Get type id for downcasting.

impl Clear for Request[src]

impl ProtobufValue for Request[src]

fn as_any(&self) -> &(dyn Any + 'static)[src]

fn is_non_zero(&self) -> bool[src]

fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]

Auto Trait Implementations

impl Send for Request

impl Sync for Request

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T