pub struct Heartbeat {
pub node_id: NodeId,
pub timestamp_ms: u64,
}Expand description
Snapshot of node heartbeat.
Fields§
§node_id: NodeIdNode that emitted the heartbeat.
timestamp_ms: u64Emission timestamp in Unix milliseconds.
Trait Implementations§
impl Eq for Heartbeat
impl StructuralPartialEq for Heartbeat
Auto Trait Implementations§
impl Freeze for Heartbeat
impl RefUnwindSafe for Heartbeat
impl Send for Heartbeat
impl Sync for Heartbeat
impl Unpin for Heartbeat
impl UnsafeUnpin for Heartbeat
impl UnwindSafe for Heartbeat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more