Enum jormungandr_lib::interfaces::FeesGoTo
source · pub enum FeesGoTo {
Rewards,
Treasury,
}
Expand description
the settings for the fees to be redistributed to
Variants§
Rewards
the fees will be added to the epoch’s reward pot to then be distributed amongst the pools.
Treasury
the pools don’t receive any rewards to add transactions in the blocks it is instead given entirely to the treasury.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FeesGoTo
impl<'de> Deserialize<'de> for FeesGoTo
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
source§impl Ord for FeesGoTo
impl Ord for FeesGoTo
source§impl PartialEq<FeesGoTo> for FeesGoTo
impl PartialEq<FeesGoTo> for FeesGoTo
source§impl PartialOrd<FeesGoTo> for FeesGoTo
impl PartialOrd<FeesGoTo> for FeesGoTo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FeesGoTo
impl Eq for FeesGoTo
impl StructuralEq for FeesGoTo
impl StructuralPartialEq for FeesGoTo
Auto Trait Implementations§
impl RefUnwindSafe for FeesGoTo
impl Send for FeesGoTo
impl Sync for FeesGoTo
impl Unpin for FeesGoTo
impl UnwindSafe for FeesGoTo
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