pub struct BridgeStats {
pub total_earned: u128,
pub pending_rewards: u128,
pub claimed_rewards: u128,
pub available_balance: u128,
pub teleported_by_chain: HashMap<String, u128>,
pub pending_teleports: usize,
}Expand description
Bridge statistics
Fields§
§total_earned: u128Total rewards earned
pending_rewards: u128Pending rewards to claim
claimed_rewards: u128Already claimed rewards
available_balance: u128Available to teleport
teleported_by_chain: HashMap<String, u128>Teleported by destination chain
pending_teleports: usizeNumber of pending teleport transfers
Trait Implementations§
Source§impl Clone for BridgeStats
impl Clone for BridgeStats
Source§fn clone(&self) -> BridgeStats
fn clone(&self) -> BridgeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgeStats
impl Debug for BridgeStats
Source§impl<'de> Deserialize<'de> for BridgeStats
impl<'de> Deserialize<'de> for BridgeStats
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 BridgeStats
impl RefUnwindSafe for BridgeStats
impl Send for BridgeStats
impl Sync for BridgeStats
impl Unpin for BridgeStats
impl UnsafeUnpin for BridgeStats
impl UnwindSafe for BridgeStats
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