pub struct BuildCancellationMetadata {
pub operation_id: String,
pub origin: String,
pub reason_code: String,
pub decision_path: Vec<String>,
pub escalation_stage: String,
pub escalation_count: u32,
pub remote_kill_attempted: bool,
pub cleanup_ok: bool,
pub history_cancelled: bool,
pub final_state: String,
pub worker_health: Option<BuildCancellationWorkerHealth>,
}Expand description
Structured cancellation metadata attached to cancelled build records.
Fields§
§operation_id: StringStable cancellation operation identifier.
origin: StringCancellation origin (for example user, timeout).
reason_code: StringStable reason code for cancellation.
decision_path: Vec<String>Ordered cancellation state path.
escalation_stage: StringHighest escalation stage reached (term, remote_kill, sigkill).
escalation_count: u32Number of escalation transitions taken.
remote_kill_attempted: boolWhether remote kill was attempted.
cleanup_ok: boolWhether cleanup completed successfully.
history_cancelled: boolWhether active build history was successfully claimed/cancelled.
final_state: StringFinal cancellation state.
worker_health: Option<BuildCancellationWorkerHealth>Worker health snapshot at completion.
Trait Implementations§
Source§impl Clone for BuildCancellationMetadata
impl Clone for BuildCancellationMetadata
Source§fn clone(&self) -> BuildCancellationMetadata
fn clone(&self) -> BuildCancellationMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuildCancellationMetadata
impl Debug for BuildCancellationMetadata
Source§impl<'de> Deserialize<'de> for BuildCancellationMetadata
impl<'de> Deserialize<'de> for BuildCancellationMetadata
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 BuildCancellationMetadata
impl RefUnwindSafe for BuildCancellationMetadata
impl Send for BuildCancellationMetadata
impl Sync for BuildCancellationMetadata
impl Unpin for BuildCancellationMetadata
impl UnsafeUnpin for BuildCancellationMetadata
impl UnwindSafe for BuildCancellationMetadata
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