pub struct UpdateProtocolParam {Show 24 fields
pub minfee_a: Option<Coin>,
pub minfee_b: Option<Coin>,
pub max_block_body_size: Option<u32>,
pub max_tx_size: Option<u32>,
pub max_block_header_size: Option<u32>,
pub key_deposit: Option<Coin>,
pub pool_deposit: Option<Coin>,
pub max_epoch: Option<u32>,
pub desired_stake_pools: Option<u32>,
pub pool_pledge_influence: Option<UnitInterval>,
pub expansion_rate: Option<UnitInterval>,
pub treasury_growth_rate: Option<UnitInterval>,
pub decentralization_d: Option<UnitInterval>,
pub extra_entropy: Option<AnyCbor>,
pub protocol_version: Option<ProtocolVersions>,
pub min_pool_cost: Option<Coin>,
pub ada_per_utxo_byte: Option<Coin>,
pub cost_models: Option<CostModels>,
pub execution_costs: Option<AnyCbor>,
pub max_tx_ex_units: Option<AnyCbor>,
pub max_block_ex_units: Option<AnyCbor>,
pub max_value_size: Option<u32>,
pub collateral_percentage: Option<u32>,
pub max_collateral_inputs: Option<u32>,
}Fields§
§minfee_a: Option<Coin>§minfee_b: Option<Coin>§max_block_body_size: Option<u32>§max_tx_size: Option<u32>§max_block_header_size: Option<u32>§key_deposit: Option<Coin>§pool_deposit: Option<Coin>§max_epoch: Option<u32>§desired_stake_pools: Option<u32>§pool_pledge_influence: Option<UnitInterval>§expansion_rate: Option<UnitInterval>§treasury_growth_rate: Option<UnitInterval>§decentralization_d: Option<UnitInterval>§extra_entropy: Option<AnyCbor>§protocol_version: Option<ProtocolVersions>§min_pool_cost: Option<Coin>§ada_per_utxo_byte: Option<Coin>§cost_models: Option<CostModels>§execution_costs: Option<AnyCbor>§max_tx_ex_units: Option<AnyCbor>§max_block_ex_units: Option<AnyCbor>§max_value_size: Option<u32>§collateral_percentage: Option<u32>§max_collateral_inputs: Option<u32>Trait Implementations§
Source§impl Clone for UpdateProtocolParam
impl Clone for UpdateProtocolParam
Source§fn clone(&self) -> UpdateProtocolParam
fn clone(&self) -> UpdateProtocolParam
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 UpdateProtocolParam
impl Debug for UpdateProtocolParam
Source§impl Decode for UpdateProtocolParam
impl Decode for UpdateProtocolParam
Source§impl PartialEq for UpdateProtocolParam
impl PartialEq for UpdateProtocolParam
impl Eq for UpdateProtocolParam
impl StructuralPartialEq for UpdateProtocolParam
Auto Trait Implementations§
impl Freeze for UpdateProtocolParam
impl RefUnwindSafe for UpdateProtocolParam
impl Send for UpdateProtocolParam
impl Sync for UpdateProtocolParam
impl Unpin for UpdateProtocolParam
impl UnwindSafe for UpdateProtocolParam
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