pub struct StakePoolVotingThresholds {
pub no_confidence: Ratio,
pub constitutional_committee: ConstitutionalCommitteeThresholds,
pub hard_fork_initiation: Ratio,
pub protocol_parameters_update: Option<ProtocolParametersUpdateThresholds>,
}Expand description
Stake pool voting thresholds (Conway governance).
Fields§
§no_confidence: RatioNo confidence threshold.
constitutional_committee: ConstitutionalCommitteeThresholdsConstitutional committee update threshold.
hard_fork_initiation: RatioHard fork initiation threshold.
protocol_parameters_update: Option<ProtocolParametersUpdateThresholds>Protocol parameters update threshold.
Trait Implementations§
Source§impl Clone for StakePoolVotingThresholds
impl Clone for StakePoolVotingThresholds
Source§impl Debug for StakePoolVotingThresholds
impl Debug for StakePoolVotingThresholds
Source§impl<'de> Deserialize<'de> for StakePoolVotingThresholds
impl<'de> Deserialize<'de> for StakePoolVotingThresholds
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
impl StructuralPartialEq for StakePoolVotingThresholds
Auto Trait Implementations§
impl Freeze for StakePoolVotingThresholds
impl RefUnwindSafe for StakePoolVotingThresholds
impl Send for StakePoolVotingThresholds
impl Sync for StakePoolVotingThresholds
impl Unpin for StakePoolVotingThresholds
impl UnsafeUnpin for StakePoolVotingThresholds
impl UnwindSafe for StakePoolVotingThresholds
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