pub struct ReleaseRequest {
pub worker_id: WorkerId,
pub slots: u32,
pub build_id: Option<u64>,
pub exit_code: Option<i32>,
pub duration_ms: Option<u64>,
pub bytes_transferred: Option<u64>,
pub timing: Option<CommandTimingBreakdown>,
}Expand description
Request to release reserved worker slots.
Fields§
§worker_id: WorkerIdID of the worker to release slots on.
slots: u32Number of slots to release.
build_id: Option<u64>Optional build ID to mark complete.
exit_code: Option<i32>Optional exit code for the build (used to finalize active build tracking).
duration_ms: Option<u64>Optional total duration in milliseconds (pipeline or execution).
If omitted, the daemon will compute duration from the active build’s start time.
bytes_transferred: Option<u64>Optional bytes transferred during the pipeline (upload + artifact download).
timing: Option<CommandTimingBreakdown>Optional per-phase timing breakdown for the build pipeline.
Trait Implementations§
Source§impl Clone for ReleaseRequest
impl Clone for ReleaseRequest
Source§fn clone(&self) -> ReleaseRequest
fn clone(&self) -> ReleaseRequest
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 ReleaseRequest
impl Debug for ReleaseRequest
Source§impl<'de> Deserialize<'de> for ReleaseRequest
impl<'de> Deserialize<'de> for ReleaseRequest
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 ReleaseRequest
impl RefUnwindSafe for ReleaseRequest
impl Send for ReleaseRequest
impl Sync for ReleaseRequest
impl Unpin for ReleaseRequest
impl UnsafeUnpin for ReleaseRequest
impl UnwindSafe for ReleaseRequest
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