Struct tendermint::validator::Info
source · pub struct Info {
pub address: Id,
pub pub_key: PublicKey,
pub power: Power,
pub name: Option<String>,
pub proposer_priority: ProposerPriority,
}
Expand description
Validator information
Fields§
§address: Id
Validator account address
pub_key: PublicKey
Validator public key
power: Power
Validator voting power
name: Option<String>
Validator name
proposer_priority: ProposerPriority
Validator proposer priority
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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<&Info> for SimpleValidator
impl From<&Info> for SimpleValidator
Info -> SimpleValidator
source§fn from(info: &Info) -> SimpleValidator
fn from(info: &Info) -> SimpleValidator
Converts to this type from the input type.