[][src]Struct abci::RequestQuery

pub struct RequestQuery {
    pub data: Vec<u8>,
    pub path: String,
    pub height: i64,
    pub prove: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

data: Vec<u8>path: Stringheight: i64prove: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RequestQuery[src]

pub fn new() -> RequestQuery[src]

pub fn get_data(&self) -> &[u8][src]

pub fn clear_data(&mut self)[src]

pub fn set_data(&mut self, v: Vec<u8>)[src]

pub fn mut_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_data(&mut self) -> Vec<u8>[src]

pub fn get_path(&self) -> &str[src]

pub fn clear_path(&mut self)[src]

pub fn set_path(&mut self, v: String)[src]

pub fn mut_path(&mut self) -> &mut String[src]

pub fn take_path(&mut self) -> String[src]

pub fn get_height(&self) -> i64[src]

pub fn clear_height(&mut self)[src]

pub fn set_height(&mut self, v: i64)[src]

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

pub fn clear_prove(&mut self)[src]

pub fn set_prove(&mut self, v: bool)[src]

Trait Implementations

impl Clear for RequestQuery[src]

impl Clone for RequestQuery[src]

impl Debug for RequestQuery[src]

impl Default for RequestQuery[src]

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

impl Message for RequestQuery[src]

impl PartialEq<RequestQuery> for RequestQuery[src]

impl ProtobufValue for RequestQuery[src]

impl StructuralPartialEq for RequestQuery[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.