pub struct NetworkData { /* private fields */ }
Implementations§
Source§impl NetworkData
impl NetworkData
pub fn get_active_bonds(&self) -> Vec<u64>
pub const fn get_active_node_count(&self) -> &u64
pub const fn get_block_rewards(&self) -> &NetworkBlockRewards
pub const fn get_bond_metrics(&self) -> &NetworkBondMetrics
pub const fn get_bonding_apy(&self) -> &Decimal
pub const fn get_liquidity_apy(&self) -> &Decimal
pub const fn get_next_churn_height(&self) -> &u64
pub const fn get_pool_activation_countdown(&self) -> &u64
pub fn get_standby_bonds(&self) -> Vec<u64>
pub const fn get_standby_node_count(&self) -> &u64
pub const fn get_total_pooled_rune(&self) -> &u64
pub const fn get_total_reserve(&self) -> &u64
Trait Implementations§
Source§impl Clone for NetworkData
impl Clone for NetworkData
Source§fn clone(&self) -> NetworkData
fn clone(&self) -> NetworkData
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 Debug for NetworkData
impl Debug for NetworkData
Source§impl<'de> Deserialize<'de> for NetworkData
impl<'de> Deserialize<'de> for NetworkData
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 NetworkData
impl RefUnwindSafe for NetworkData
impl Send for NetworkData
impl Sync for NetworkData
impl Unpin for NetworkData
impl UnwindSafe for NetworkData
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