pub struct ApplicationServerInfoSyncStatusData {
pub crypto_code: Option<String>,
pub node_information: Option<Box<ApplicationServerInfoNodeStatusData>>,
pub chain_height: Option<i32>,
pub sync_height: Option<f32>,
pub available: Option<bool>,
}Expand description
ApplicationServerInfoSyncStatusData : Detailed sync status
Fields§
§crypto_code: Option<String>The CryptoCode of the crypto currency (eg. BTC)
node_information: Option<Box<ApplicationServerInfoNodeStatusData>>§chain_height: Option<i32>The height of the chain of header of the internal indexer
sync_height: Option<f32>The height of the latest indexed block of the internal indexer
available: Option<bool>True if the full node and the indexer are fully synchronized
Implementations§
Source§impl ApplicationServerInfoSyncStatusData
impl ApplicationServerInfoSyncStatusData
Sourcepub fn new() -> ApplicationServerInfoSyncStatusData
pub fn new() -> ApplicationServerInfoSyncStatusData
Detailed sync status
Trait Implementations§
Source§impl Clone for ApplicationServerInfoSyncStatusData
impl Clone for ApplicationServerInfoSyncStatusData
Source§fn clone(&self) -> ApplicationServerInfoSyncStatusData
fn clone(&self) -> ApplicationServerInfoSyncStatusData
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 ApplicationServerInfoSyncStatusData
impl Default for ApplicationServerInfoSyncStatusData
Source§fn default() -> ApplicationServerInfoSyncStatusData
fn default() -> ApplicationServerInfoSyncStatusData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationServerInfoSyncStatusData
impl<'de> Deserialize<'de> for ApplicationServerInfoSyncStatusData
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 ApplicationServerInfoSyncStatusData
impl PartialEq for ApplicationServerInfoSyncStatusData
Source§fn eq(&self, other: &ApplicationServerInfoSyncStatusData) -> bool
fn eq(&self, other: &ApplicationServerInfoSyncStatusData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApplicationServerInfoSyncStatusData
Auto Trait Implementations§
impl Freeze for ApplicationServerInfoSyncStatusData
impl RefUnwindSafe for ApplicationServerInfoSyncStatusData
impl Send for ApplicationServerInfoSyncStatusData
impl Sync for ApplicationServerInfoSyncStatusData
impl Unpin for ApplicationServerInfoSyncStatusData
impl UnwindSafe for ApplicationServerInfoSyncStatusData
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