Struct gekko::runtime::kusama::extrinsics::im_online::Heartbeat [−][src]
pub struct Heartbeat<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub heartbeat: A,
pub _signature: B,
}
Expand description
Documentation (provided by the runtime metadata)
- Complexity:
O(K + E)
where K is length ofKeys
(heartbeat.validators_len) and E is length ofheartbeat.network_state.external_address
O(K)
: decoding of lengthK
O(E)
: decoding/encoding of lengthE
- DbReads: pallet_session
Validators
, pallet_sessionCurrentIndex
,Keys
,ReceivedHeartbeats
- DbWrites:
ReceivedHeartbeats
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
heartbeat: A
Type description: Heartbeat<T::BlockNumber>
_signature: B
Type description: <T::AuthorityId as RuntimeAppPublic>::Signature
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Heartbeat<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Heartbeat<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
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
The counterpart to unchecked_from
.