pub struct UiStakeConfig {
pub warmup_cooldown_rate: f64,
pub slash_penalty: u8,
}
Fields§
§warmup_cooldown_rate: f64
§slash_penalty: u8
Trait Implementations§
source§impl Debug for UiStakeConfig
impl Debug for UiStakeConfig
source§impl<'de> Deserialize<'de> for UiStakeConfig
impl<'de> Deserialize<'de> for UiStakeConfig
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 From<Config> for UiStakeConfig
impl From<Config> for UiStakeConfig
source§impl PartialEq<UiStakeConfig> for UiStakeConfig
impl PartialEq<UiStakeConfig> for UiStakeConfig
source§fn eq(&self, other: &UiStakeConfig) -> bool
fn eq(&self, other: &UiStakeConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.