[][src]Struct abci::ResponseCommit

pub struct ResponseCommit {
    pub data: Vec<u8>,
    pub retain_height: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

data: Vec<u8>retain_height: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseCommit[src]

pub fn new() -> ResponseCommit[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_retain_height(&self) -> i64[src]

pub fn clear_retain_height(&mut self)[src]

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

Trait Implementations

impl Clear for ResponseCommit[src]

impl Clone for ResponseCommit[src]

impl Debug for ResponseCommit[src]

impl Default for ResponseCommit[src]

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

impl Message for ResponseCommit[src]

impl PartialEq<ResponseCommit> for ResponseCommit[src]

impl ProtobufValue for ResponseCommit[src]

impl StructuralPartialEq for ResponseCommit[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.