Struct solana_client::rpc_response::RpcBlockProduction [−][src]
pub struct RpcBlockProduction { pub by_identity: HashMap<String, (usize, usize)>, pub range: RpcBlockProductionRange, }
Fields
by_identity: HashMap<String, (usize, usize)>
Map of leader base58 identity pubkeys to a tuple of (number of leader slots, number of blocks produced)
range: RpcBlockProductionRange
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 RpcBlockProduction
impl Send for RpcBlockProduction
impl Sync for RpcBlockProduction
impl Unpin for RpcBlockProduction
impl UnwindSafe for RpcBlockProduction
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self