[][src]Struct tendermint::chain::Info

pub struct Info {
    pub id: Id,
    pub height: Height,
    pub last_block_id: Option<Id>,
    pub time: Option<Time>,
}

Information about a particular Tendermint blockchain

Fields

id: Id

Chain identifier (e.g. 'gaia-9000')

height: Height

Current block height of the chain

last_block_id: Option<Id>

Last block ID seen for this chain

time: Option<Time>

Current consensus time (if available)

Methods

impl Info[src]

pub fn new<I>(id: I) -> Self where
    I: Into<Id>, 
[src]

Create information about a particular network

Trait Implementations

impl Clone for Info[src]

impl Debug for Info[src]

Auto Trait Implementations

impl Send for Info

impl Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

impl RefUnwindSafe for Info

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Typeable for T where
    T: Any