Struct cosmwasm_std::Validator [−][src]
pub struct Validator {
pub address: String,
pub commission: Decimal,
pub max_commission: Decimal,
pub max_change_rate: Decimal,
}
Expand description
Instances are created in the querier.
Fields
address: String
A validator address (e.g. cosmosvaloper1…)
commission: Decimal
max_commission: Decimal
max_change_rate: Decimal
TODO: what units are these (in terms of time)?
Trait Implementations
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 RefUnwindSafe for Validator
impl UnwindSafe for Validator
Blanket Implementations
Mutably borrows from an owned value. Read more