pub struct HeartbeatRequest {
pub hostname: String,
pub rollout_id: Option<RolloutId>,
pub current_closure: Option<String>,
pub at: DateTime<Utc>,
}Fields§
§hostname: String§rollout_id: Option<RolloutId>Agent’s view of the active rollout. None when the agent has no
outstanding rollout (post-Converged steady state). Serde-
transparent (RFC-0008 §6.3): the wire JSON shape is unchanged
from a plain String.
current_closure: Option<String>Agent’s observed current closure hash (what the host is
actually running right now). CP cross-checks against its mirror.
at: DateTime<Utc>Caller-supplied timestamp (from agent’s ClockHandle). CP uses this rather than wallclock-now so log lines line up with agent-side timing.
Trait Implementations§
Source§impl Clone for HeartbeatRequest
impl Clone for HeartbeatRequest
Source§fn clone(&self) -> HeartbeatRequest
fn clone(&self) -> HeartbeatRequest
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 HeartbeatRequest
impl Debug for HeartbeatRequest
Source§impl<'de> Deserialize<'de> for HeartbeatRequest
impl<'de> Deserialize<'de> for HeartbeatRequest
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 HeartbeatRequest
impl RefUnwindSafe for HeartbeatRequest
impl Send for HeartbeatRequest
impl Sync for HeartbeatRequest
impl Unpin for HeartbeatRequest
impl UnwindSafe for HeartbeatRequest
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