[][src]Struct tendermint::block::Size

pub struct Size {
    pub max_bytes: u64,
    pub max_gas: u64,
    pub time_iota_ms: u64,

Block size parameters


max_bytes: u64

Maximum number of bytes in a block

max_gas: u64

Maximum amount of gas which can be spent on a block

time_iota_ms: u64

Time iota in ms

Trait Implementations

impl Clone for Size[src]

impl Eq for Size[src]

impl PartialEq<Size> for Size[src]

impl Debug for Size[src]

impl Serialize for Size[src]

impl<'de> Deserialize<'de> for Size[src]

Auto Trait Implementations

impl Send for Size

impl Sync for Size

impl Unpin for Size

impl UnwindSafe for Size

impl RefUnwindSafe for Size

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Typeable for T where
    T: Any