pub struct ProtocolParametersData {Show 23 fields
pub collateral_percentage: u64,
pub desired_number_of_stake_pools: u64,
pub max_block_body_size: Bytes,
pub max_block_header_size: Bytes,
pub max_collateral_inputs: u64,
pub max_execution_units_per_block: ExUnits,
pub max_execution_units_per_transaction: ExUnits,
pub max_transaction_size: Bytes,
pub max_value_size: Bytes,
pub min_fee_coefficient: u64,
pub min_fee_constant: LovelaceAmount,
pub min_stake_pool_cost: LovelaceAmount,
pub min_utxo_deposit_coefficient: u64,
pub min_utxo_deposit_constant: LovelaceAmount,
pub monetary_expansion: String,
pub plutus_cost_models: PlutusCostModels,
pub script_execution_prices: ScriptExecutionPrices,
pub stake_credential_deposit: LovelaceAmount,
pub stake_pool_deposit: LovelaceAmount,
pub stake_pool_pledge_influence: String,
pub stake_pool_retirement_epoch_bound: u64,
pub treasury_expansion: String,
pub version: ProtocolVersion,
}
Fields§
§collateral_percentage: u64
§desired_number_of_stake_pools: u64
§max_block_body_size: Bytes
§max_block_header_size: Bytes
§max_collateral_inputs: u64
§max_execution_units_per_block: ExUnits
§max_execution_units_per_transaction: ExUnits
§max_transaction_size: Bytes
§max_value_size: Bytes
§min_fee_coefficient: u64
§min_fee_constant: LovelaceAmount
§min_stake_pool_cost: LovelaceAmount
§min_utxo_deposit_coefficient: u64
§min_utxo_deposit_constant: LovelaceAmount
§monetary_expansion: String
§plutus_cost_models: PlutusCostModels
§script_execution_prices: ScriptExecutionPrices
§stake_credential_deposit: LovelaceAmount
§stake_pool_deposit: LovelaceAmount
§stake_pool_pledge_influence: String
§stake_pool_retirement_epoch_bound: u64
§treasury_expansion: String
§version: ProtocolVersion
Trait Implementations§
Source§impl Clone for ProtocolParametersData
impl Clone for ProtocolParametersData
Source§fn clone(&self) -> ProtocolParametersData
fn clone(&self) -> ProtocolParametersData
Returns a duplicate 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 ProtocolParametersData
impl Debug for ProtocolParametersData
Source§impl<'de> Deserialize<'de> for ProtocolParametersData
impl<'de> Deserialize<'de> for ProtocolParametersData
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
Auto Trait Implementations§
impl Freeze for ProtocolParametersData
impl RefUnwindSafe for ProtocolParametersData
impl Send for ProtocolParametersData
impl Sync for ProtocolParametersData
impl Unpin for ProtocolParametersData
impl UnwindSafe for ProtocolParametersData
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