pub struct TransactionFeeDistribution {
pub baker: AmountFraction,
pub gas_account: AmountFraction,
}
Expand description
Update the transaction fee distribution to the specified value.
Fields§
§baker: AmountFraction
The fraction that goes to the baker of the block.
gas_account: AmountFraction
The fraction that goes to the gas account. The remaining fraction will go to the foundation.
Trait Implementations§
source§impl Clone for TransactionFeeDistribution
impl Clone for TransactionFeeDistribution
source§fn clone(&self) -> TransactionFeeDistribution
fn clone(&self) -> TransactionFeeDistribution
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 TransactionFeeDistribution
impl Debug for TransactionFeeDistribution
source§impl Deserial for TransactionFeeDistribution
impl Deserial for TransactionFeeDistribution
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for TransactionFeeDistribution
impl<'de> Deserialize<'de> for TransactionFeeDistribution
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 TransactionFeeDistribution
impl Serial for TransactionFeeDistribution
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
Auto Trait Implementations§
impl RefUnwindSafe for TransactionFeeDistribution
impl Send for TransactionFeeDistribution
impl Sync for TransactionFeeDistribution
impl Unpin for TransactionFeeDistribution
impl UnwindSafe for TransactionFeeDistribution
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