Struct midgard_rs::NetworkBondMetrics
source · pub struct NetworkBondMetrics { /* private fields */ }Implementations§
source§impl NetworkBondMetrics
impl NetworkBondMetrics
pub const fn get_average_active_bond(&self) -> &u64
pub const fn get_average_standby_bond(&self) -> &u64
pub const fn get_bond_hard_cap(&self) -> &u64
pub const fn get_maximum_active_bond(&self) -> &u64
pub const fn get_maximum_standby_bond(&self) -> &u64
pub const fn get_median_active_bond(&self) -> &u64
pub const fn get_median_standby_bond(&self) -> &u64
pub const fn get_minimum_active_bond(&self) -> &u64
pub const fn get_minimum_standby_bond(&self) -> &u64
pub const fn get_total_active_bond(&self) -> &u64
pub const fn get_total_standby_bond(&self) -> &u64
Trait Implementations§
source§impl Clone for NetworkBondMetrics
impl Clone for NetworkBondMetrics
source§fn clone(&self) -> NetworkBondMetrics
fn clone(&self) -> NetworkBondMetrics
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 NetworkBondMetrics
impl Debug for NetworkBondMetrics
source§impl<'de> Deserialize<'de> for NetworkBondMetrics
impl<'de> Deserialize<'de> for NetworkBondMetrics
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 NetworkBondMetrics
impl RefUnwindSafe for NetworkBondMetrics
impl Send for NetworkBondMetrics
impl Sync for NetworkBondMetrics
impl Unpin for NetworkBondMetrics
impl UnwindSafe for NetworkBondMetrics
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