pub struct FeeStats {
pub total_collected: HashMap<AssetId, u128>,
pub by_source: HashMap<FeeSource, u128>,
pub total_to_treasury: u128,
pub total_burned: u128,
pub total_to_stakers: u128,
pub fee_count: u64,
}Expand description
Fee statistics
Fields§
§total_collected: HashMap<AssetId, u128>Total fees collected per asset
by_source: HashMap<FeeSource, u128>Total fees by source
total_to_treasury: u128Total to treasury
total_burned: u128Total burned
total_to_stakers: u128Total to stakers
fee_count: u64Fee count
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeStats
impl<'de> Deserialize<'de> for FeeStats
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 FeeStats
impl RefUnwindSafe for FeeStats
impl Send for FeeStats
impl Sync for FeeStats
impl Unpin for FeeStats
impl UnsafeUnpin for FeeStats
impl UnwindSafe for FeeStats
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