pub struct HeartbeatResponse {
pub received_at: Option<DateTime<Utc>>,
pub bootstrap_rollouts: Vec<HostRolloutSnapshot>,
}Fields§
§received_at: Option<DateTime<Utc>>Mirrors last_heartbeat_at after the update. Useful for the
agent to confirm CP saw it; null if the reducer was unable to
process the heartbeat for some reason.
bootstrap_rollouts: Vec<HostRolloutSnapshot>LIFT #3: per active rollout on this host, a HostRolloutSnapshot
the agent should apply to its in-memory reducer. Populated only
when the heartbeat carried rollout_id = None (boot-recovery
shape — agent’s reducer is empty) AND CP holds non-terminal
records for the host. Empty in steady-state heartbeats.
Serde-default empty so old agents ignore the field.
Trait Implementations§
Source§impl Clone for HeartbeatResponse
impl Clone for HeartbeatResponse
Source§fn clone(&self) -> HeartbeatResponse
fn clone(&self) -> HeartbeatResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeartbeatResponse
impl Debug for HeartbeatResponse
Source§impl<'de> Deserialize<'de> for HeartbeatResponse
impl<'de> Deserialize<'de> for HeartbeatResponse
Source§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 Freeze for HeartbeatResponse
impl RefUnwindSafe for HeartbeatResponse
impl Send for HeartbeatResponse
impl Sync for HeartbeatResponse
impl Unpin for HeartbeatResponse
impl UnwindSafe for HeartbeatResponse
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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