Enum chain_impl_mockchain::setting::FeesGoesTo
source · pub enum FeesGoesTo {
Rewards,
Treasury,
}
Expand description
Fees nSettings
Variants§
Rewards
Move the fees to the rewards; this is the common mode of blockchain operation.
Treasury
Move the fees directly to treasury. this is not a recommended settings, as it fundamentally change the dynamic of the blockchain operation.
Trait Implementations§
source§impl Clone for FeesGoesTo
impl Clone for FeesGoesTo
source§fn clone(&self) -> FeesGoesTo
fn clone(&self) -> FeesGoesTo
Returns a copy 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 FeesGoesTo
impl Debug for FeesGoesTo
source§impl Default for FeesGoesTo
impl Default for FeesGoesTo
source§fn default() -> FeesGoesTo
fn default() -> FeesGoesTo
Returns the “default value” for a type. Read more
source§impl PartialEq<FeesGoesTo> for FeesGoesTo
impl PartialEq<FeesGoesTo> for FeesGoesTo
source§fn eq(&self, other: &FeesGoesTo) -> bool
fn eq(&self, other: &FeesGoesTo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FeesGoesTo
impl Eq for FeesGoesTo
impl StructuralEq for FeesGoesTo
impl StructuralPartialEq for FeesGoesTo
Auto Trait Implementations§
impl RefUnwindSafe for FeesGoesTo
impl Send for FeesGoesTo
impl Sync for FeesGoesTo
impl Unpin for FeesGoesTo
impl UnwindSafe for FeesGoesTo
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