pub struct SyncInfo {
pub starting_block: U256,
pub current_block: U256,
pub highest_block: U256,
}
Expand description
Information about current blockchain syncing operations.
Fields§
§starting_block: U256
The block at which import began.
current_block: U256
The highest currently synced block.
highest_block: U256
The estimated highest block.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SyncInfo
impl<'de> Deserialize<'de> for SyncInfo
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
impl StructuralPartialEq for SyncInfo
Auto Trait Implementations§
impl Freeze for SyncInfo
impl RefUnwindSafe for SyncInfo
impl Send for SyncInfo
impl Sync for SyncInfo
impl Unpin for SyncInfo
impl UnwindSafe for SyncInfo
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