pub struct DeployerFee {
pub scale: Dec,
pub growth_mode: bool,
}Expand description
A deployer’s fee setting for one asset: the scale applied to user fees and whether growth mode is on.
Fields§
§scale: DecFrom 0 to 3, or from 0 up to (not including) 10 in growth mode.
growth_mode: boolGrowth mode (growthMode): when on, the scale may go up to (not including) 10.
Trait Implementations§
Source§impl Clone for DeployerFee
impl Clone for DeployerFee
impl Copy for DeployerFee
Source§impl Debug for DeployerFee
impl Debug for DeployerFee
impl Eq for DeployerFee
Source§impl PartialEq for DeployerFee
impl PartialEq for DeployerFee
impl StructuralPartialEq for DeployerFee
Auto Trait Implementations§
impl Forget for DeployerFee
impl Freeze for DeployerFee
impl Move for DeployerFee
impl RefUnwindSafe for DeployerFee
impl Send for DeployerFee
impl Sync for DeployerFee
impl Unpin for DeployerFee
impl UnsafeUnpin for DeployerFee
impl UnwindSafe for DeployerFee
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.