pub struct GetBlockchainStateResponse {
pub height: u64,
pub tip_hash: HashHex,
pub synced: bool,
pub sync_progress: f32,
pub finalized_epoch: u64,
pub sealed_height: u64,
}Expand description
Response for GetBlockchainStateRequest.
Fields§
§height: u64Current canonical tip height.
tip_hash: HashHexCurrent canonical tip block hash.
synced: boolWhether the node is synced to the chain tip.
sync_progress: f32Progress 0.0..=1.0 while syncing.
finalized_epoch: u64The most recent finalised (L3) epoch.
sealed_height: u64Height floor below which no reorg may cross.
Trait Implementations§
Source§impl Clone for GetBlockchainStateResponse
impl Clone for GetBlockchainStateResponse
Source§fn clone(&self) -> GetBlockchainStateResponse
fn clone(&self) -> GetBlockchainStateResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetBlockchainStateResponse
impl Debug for GetBlockchainStateResponse
Source§impl<'de> Deserialize<'de> for GetBlockchainStateResponse
impl<'de> Deserialize<'de> for GetBlockchainStateResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetBlockchainStateResponse
impl RefUnwindSafe for GetBlockchainStateResponse
impl Send for GetBlockchainStateResponse
impl Sync for GetBlockchainStateResponse
impl Unpin for GetBlockchainStateResponse
impl UnsafeUnpin for GetBlockchainStateResponse
impl UnwindSafe for GetBlockchainStateResponse
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