Struct concordium_base::base::MintDistributionV1
source · pub struct MintDistributionV1 {
pub baking_reward: AmountFraction,
pub finalization_reward: AmountFraction,
}
Expand description
Mint distribution parameters that apply to protocol version 4 and up.
Fields§
§baking_reward: AmountFraction
Fraction of newly minted CCD allocated to baker rewards.
finalization_reward: AmountFraction
Fraction of newly minted CCD allocated to finalization rewards.
Trait Implementations§
source§impl Clone for MintDistributionV1
impl Clone for MintDistributionV1
source§fn clone(&self) -> MintDistributionV1
fn clone(&self) -> MintDistributionV1
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 MintDistributionV1
impl Debug for MintDistributionV1
source§impl Deserial for MintDistributionV1
impl Deserial for MintDistributionV1
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for MintDistributionV1
impl<'de> Deserialize<'de> for MintDistributionV1
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 Serial for MintDistributionV1
impl Serial for MintDistributionV1
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
Auto Trait Implementations§
impl RefUnwindSafe for MintDistributionV1
impl Send for MintDistributionV1
impl Sync for MintDistributionV1
impl Unpin for MintDistributionV1
impl UnwindSafe for MintDistributionV1
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