[][src]Struct abci::BlockParams

pub struct BlockParams {
    pub max_bytes: i64,
    pub max_gas: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

max_bytes: i64max_gas: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl BlockParams[src]

pub fn new() -> BlockParams[src]

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

pub fn clear_max_bytes(&mut self)[src]

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

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

pub fn clear_max_gas(&mut self)[src]

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

Trait Implementations

impl Clear for BlockParams[src]

impl Clone for BlockParams[src]

impl Debug for BlockParams[src]

impl Default for BlockParams[src]

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

impl Message for BlockParams[src]

impl PartialEq<BlockParams> for BlockParams[src]

impl ProtobufValue for BlockParams[src]

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