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§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more