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

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

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)

Implementations

Create information about a particular network

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.