pub struct FeeDistribution {
pub treasury_amount: u128,
pub burn_amount: u128,
pub staker_amount: u128,
}Expand description
Calculated fee distribution
Fields§
§treasury_amount: u128Amount going to treasury
burn_amount: u128Amount to burn
staker_amount: u128Amount for stakers
Trait Implementations§
Source§impl Clone for FeeDistribution
impl Clone for FeeDistribution
Source§fn clone(&self) -> FeeDistribution
fn clone(&self) -> FeeDistribution
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 FeeDistribution
impl Debug for FeeDistribution
Source§impl<'de> Deserialize<'de> for FeeDistribution
impl<'de> Deserialize<'de> for FeeDistribution
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 FeeDistribution
impl RefUnwindSafe for FeeDistribution
impl Send for FeeDistribution
impl Sync for FeeDistribution
impl Unpin for FeeDistribution
impl UnsafeUnpin for FeeDistribution
impl UnwindSafe for FeeDistribution
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