Struct tendermint::validator::Info [−][src]
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
Returns the bytes to be hashed into the Merkle tree - the leaves of the tree.
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
Info -> SimpleValidator
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Info
impl UnwindSafe for Info
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V