pub struct BuildHeartbeatRequest {
pub build_id: u64,
pub worker_id: WorkerId,
pub hook_pid: Option<u32>,
pub local_wrapper_id: Option<String>,
pub remote_pgid_file: Option<String>,
pub phase: BuildHeartbeatPhase,
pub detail: Option<String>,
pub progress_counter: Option<u64>,
pub progress_percent: Option<f64>,
}Expand description
Request to update liveness/progress for an active build.
Fields§
§build_id: u64Active build identifier assigned by the daemon.
worker_id: WorkerIdWorker executing the build.
hook_pid: Option<u32>Hook process ID sending the heartbeat.
local_wrapper_id: Option<String>Client-minted wrapper identity for local durable-lease correlation.
remote_pgid_file: Option<String>Remote file containing the process-group leader PID for cancellation.
phase: BuildHeartbeatPhaseCurrent build execution phase.
detail: Option<String>Optional human-readable progress detail.
progress_counter: Option<u64>Optional monotonic progress counter.
The hook increments this when it observes meaningful progress (phase transitions, new output, or richer progress signals).
progress_percent: Option<f64>Optional progress estimate in [0,100].
Trait Implementations§
Source§impl Clone for BuildHeartbeatRequest
impl Clone for BuildHeartbeatRequest
Source§impl Debug for BuildHeartbeatRequest
impl Debug for BuildHeartbeatRequest
Source§impl<'de> Deserialize<'de> for BuildHeartbeatRequest
impl<'de> Deserialize<'de> for BuildHeartbeatRequest
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
Source§impl JsonSchema for BuildHeartbeatRequest
impl JsonSchema for BuildHeartbeatRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for BuildHeartbeatRequest
impl RefUnwindSafe for BuildHeartbeatRequest
impl Send for BuildHeartbeatRequest
impl Sync for BuildHeartbeatRequest
impl Unpin for BuildHeartbeatRequest
impl UnsafeUnpin for BuildHeartbeatRequest
impl UnwindSafe for BuildHeartbeatRequest
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