[][src]Struct tendermint::block::Height

pub struct Height(pub u64);

Block height for a particular chain (i.e. number of blocks created since the chain began)

Methods

impl Height
[src]

Parse height from the integer type used in Amino messages

Get inner integer value. Alternative to .0 or .into()

Increment the block height by 1

Trait Implementations

impl Clone for Height
[src]

Performs copy-assignment from source. Read more

impl Copy for Height
[src]

impl From<i64> for Height
[src]

impl From<u64> for Height
[src]

impl From<Height> for u64
[src]

impl From<Height> for i64
[src]

impl Eq for Height
[src]

impl PartialOrd<Height> for Height
[src]

impl Default for Height
[src]

impl PartialEq<Height> for Height
[src]

impl Ord for Height
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Debug for Height
[src]

impl Display for Height
[src]

impl Hash for Height
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Height
[src]

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

Auto Trait Implementations

impl Send for Height

impl Sync for Height

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> Same for T

Should always be Self

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default