Struct midgard_rs::HealthInfo
source · pub struct HealthInfo { /* private fields */ }Implementations§
source§impl HealthInfo
impl HealthInfo
pub const fn get_database(&self) -> Option<bool>
pub const fn get_scanner_height(&self) -> &Option<u64>
pub const fn get_in_sync(&self) -> Option<bool>
pub const fn get_last_thor_node(&self) -> &Option<HeightStamp>
pub const fn get_last_fetched(&self) -> &Option<HeightStamp>
pub const fn get_last_committed(&self) -> &Option<HeightStamp>
pub const fn get_last_aggregated(&self) -> &Option<HeightStamp>
pub const fn get_genesis_info(&self) -> &Option<HeightHash>
Trait Implementations§
source§impl Clone for HealthInfo
impl Clone for HealthInfo
source§fn clone(&self) -> HealthInfo
fn clone(&self) -> HealthInfo
Returns a copy 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 HealthInfo
impl Debug for HealthInfo
source§impl<'de> Deserialize<'de> for HealthInfo
impl<'de> Deserialize<'de> for HealthInfo
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 HealthInfo
impl RefUnwindSafe for HealthInfo
impl Send for HealthInfo
impl Sync for HealthInfo
impl Unpin for HealthInfo
impl UnwindSafe for HealthInfo
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