Struct near_chain::types::LatestKnown [−][src]
pub struct LatestKnown {
pub height: BlockHeight,
pub seen: u64,
}
Expand description
The last known / checked height and time when we have processed it. Required to keep track of skipped blocks and not fallback to produce blocks at lower height.
Fields
height: BlockHeight
seen: u64
Trait Implementations
impl BorshDeserialize for LatestKnown where
BlockHeight: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for LatestKnown where
BlockHeight: BorshDeserialize,
u64: BorshDeserialize,
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for LatestKnown
impl Send for LatestKnown
impl Sync for LatestKnown
impl Unpin for LatestKnown
impl UnwindSafe for LatestKnown
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more