pub enum MultiEraProtocolParamUpdate {
Shelley(ShelleyProtocolParamUpdate),
Alonzo(AlonzoProtocolParamUpdate),
Babbage(BabbageProtocolParamUpdate),
Conway(ProtocolParamUpdate),
}Variants§
Shelley(ShelleyProtocolParamUpdate)
Alonzo(AlonzoProtocolParamUpdate)
Babbage(BabbageProtocolParamUpdate)
Conway(ProtocolParamUpdate)
Implementations§
Source§impl MultiEraProtocolParamUpdate
impl MultiEraProtocolParamUpdate
pub fn minfee_a(&self) -> Option<u64>
pub fn minfee_b(&self) -> Option<u64>
pub fn max_block_body_size(&self) -> Option<u64>
pub fn max_transaction_size(&self) -> Option<u64>
pub fn max_block_header_size(&self) -> Option<u64>
pub fn key_deposit(&self) -> Option<Coin>
pub fn pool_deposit(&self) -> Option<Coin>
pub fn maximum_epoch(&self) -> Option<Epoch>
pub fn n_opt(&self) -> Option<u64>
pub fn pool_pledge_influence(&self) -> Option<&Rational>
pub fn expansion_rate(&self) -> Option<&UnitInterval>
pub fn treasury_growth_rate(&self) -> Option<&UnitInterval>
pub fn decentralization_constant(&self) -> Option<&UnitInterval>
pub fn extra_entropy(&self) -> Option<&Nonce>
pub fn protocol_version(&self) -> Option<&ProtocolVersionStruct>
pub fn min_utxo_value(&self) -> Option<Coin>
pub fn min_pool_cost(&self) -> Option<Coin>
pub fn ada_per_utxo_byte(&self) -> Option<Coin>
pub fn cost_models_for_script_languages(&self) -> Option<CostModels>
pub fn execution_costs(&self) -> Option<&ExUnitPrices>
pub fn max_tx_ex_units(&self) -> Option<&ExUnits>
pub fn max_block_ex_units(&self) -> Option<&ExUnits>
pub fn max_value_size(&self) -> Option<u64>
pub fn collateral_percentage(&self) -> Option<u64>
pub fn max_collateral_inputs(&self) -> Option<u64>
pub fn pool_voting_thresholds(&self) -> Option<&PoolVotingThresholds>
pub fn d_rep_voting_thresholds(&self) -> Option<&DRepVotingThresholds>
pub fn min_committee_size(&self) -> Option<u64>
pub fn committee_term_limit(&self) -> Option<u64>
pub fn governance_action_validity_period(&self) -> Option<Epoch>
pub fn governance_action_deposit(&self) -> Option<Coin>
pub fn d_rep_deposit(&self) -> Option<Coin>
pub fn d_rep_inactivity_period(&self) -> Option<Epoch>
Trait Implementations§
Source§impl Clone for MultiEraProtocolParamUpdate
impl Clone for MultiEraProtocolParamUpdate
Source§fn clone(&self) -> MultiEraProtocolParamUpdate
fn clone(&self) -> MultiEraProtocolParamUpdate
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 MultiEraProtocolParamUpdate
impl Debug for MultiEraProtocolParamUpdate
Source§impl<'de> Deserialize<'de> for MultiEraProtocolParamUpdate
impl<'de> Deserialize<'de> for MultiEraProtocolParamUpdate
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 JsonSchema for MultiEraProtocolParamUpdate
impl JsonSchema for MultiEraProtocolParamUpdate
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for MultiEraProtocolParamUpdate
impl RefUnwindSafe for MultiEraProtocolParamUpdate
impl Send for MultiEraProtocolParamUpdate
impl Sync for MultiEraProtocolParamUpdate
impl Unpin for MultiEraProtocolParamUpdate
impl UnwindSafe for MultiEraProtocolParamUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more