pub struct ApplicationServerInfoNodeStatusData {
pub headers: Option<i32>,
pub blocks: Option<i32>,
pub verification_progress: Option<f64>,
}Expand description
ApplicationServerInfoNodeStatusData : Detailed sync status of the internal full node
Fields§
§headers: Option<i32>The height of the chain of header of the internal full node
blocks: Option<i32>The height of the latest validated block of the internal full node
verification_progress: Option<f64>The current synchronization progress
Implementations§
Source§impl ApplicationServerInfoNodeStatusData
impl ApplicationServerInfoNodeStatusData
Sourcepub fn new() -> ApplicationServerInfoNodeStatusData
pub fn new() -> ApplicationServerInfoNodeStatusData
Detailed sync status of the internal full node
Trait Implementations§
Source§impl Clone for ApplicationServerInfoNodeStatusData
impl Clone for ApplicationServerInfoNodeStatusData
Source§fn clone(&self) -> ApplicationServerInfoNodeStatusData
fn clone(&self) -> ApplicationServerInfoNodeStatusData
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 Default for ApplicationServerInfoNodeStatusData
impl Default for ApplicationServerInfoNodeStatusData
Source§fn default() -> ApplicationServerInfoNodeStatusData
fn default() -> ApplicationServerInfoNodeStatusData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationServerInfoNodeStatusData
impl<'de> Deserialize<'de> for ApplicationServerInfoNodeStatusData
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
Source§impl PartialEq for ApplicationServerInfoNodeStatusData
impl PartialEq for ApplicationServerInfoNodeStatusData
Source§fn eq(&self, other: &ApplicationServerInfoNodeStatusData) -> bool
fn eq(&self, other: &ApplicationServerInfoNodeStatusData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplicationServerInfoNodeStatusData
Auto Trait Implementations§
impl Freeze for ApplicationServerInfoNodeStatusData
impl RefUnwindSafe for ApplicationServerInfoNodeStatusData
impl Send for ApplicationServerInfoNodeStatusData
impl Sync for ApplicationServerInfoNodeStatusData
impl Unpin for ApplicationServerInfoNodeStatusData
impl UnwindSafe for ApplicationServerInfoNodeStatusData
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