pub struct ActiveRunnerInfo {
pub runner_id: RunnerId,
pub creation_time: DateTime<Utc>,
pub last_heartbeat: DateTime<Utc>,
pub can_run_atomic_service: bool,
pub last_service_start: Option<DateTime<Utc>>,
pub last_service_end: Option<DateTime<Utc>>,
}Expand description
Information about an active runner, including heartbeat and atomic service metadata.
All timestamps use wall-clock DateTime<Utc> so the struct can cross
FFI boundaries and be serialized/persisted by any backend.
Fields§
§runner_id: RunnerId§creation_time: DateTime<Utc>§last_heartbeat: DateTime<Utc>§can_run_atomic_service: bool§last_service_start: Option<DateTime<Utc>>Wall-clock time of the last atomic service execution start.
last_service_end: Option<DateTime<Utc>>Wall-clock time of the last atomic service execution end.
Trait Implementations§
Source§impl Clone for ActiveRunnerInfo
impl Clone for ActiveRunnerInfo
Source§fn clone(&self) -> ActiveRunnerInfo
fn clone(&self) -> ActiveRunnerInfo
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 moreAuto Trait Implementations§
impl Freeze for ActiveRunnerInfo
impl RefUnwindSafe for ActiveRunnerInfo
impl Send for ActiveRunnerInfo
impl Sync for ActiveRunnerInfo
impl Unpin for ActiveRunnerInfo
impl UnsafeUnpin for ActiveRunnerInfo
impl UnwindSafe for ActiveRunnerInfo
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