pub struct ControlStatus {Show 16 fields
pub control_id: String,
pub operation_id: String,
pub mission_id: String,
pub run_id: Option<String>,
pub action: String,
pub agent: Option<String>,
pub station_id: String,
pub status: String,
pub state: Option<String>,
pub reason: Option<String>,
pub requested_by: String,
pub requested_at: f64,
pub finished_at: Option<f64>,
pub expires_at: f64,
pub station_seen: Option<f64>,
pub queued_ahead: usize,
}Expand description
One operator control and what became of it.
Fields§
§control_id: StringIdentity of this control, also the key of its status route.
operation_id: StringThe Operation the requester was authorized for.
mission_id: StringThe Mission the control acts on.
run_id: Option<String>The Run expected to be the Mission’s current one, when known.
action: Stringcancel, retry, resume or interrupt.
agent: Option<String>The Agent a retry is given to, when one was named.
station_id: StringThe Station asked to act.
status: Stringqueued, delivered (the Station took it), applied, rejected or expired.
state: Option<String>The Mission’s state the Station reported afterwards.
reason: Option<String>Why the Station rejected the control, in AI6’s own words.
requested_by: StringThe person who asked.
requested_at: f64When the control was asked for, as Unix seconds.
finished_at: Option<f64>When the control was applied, rejected or expired, as Unix seconds.
expires_at: f64When it expires if no Station has acted by then: requested_at plus [controls] ttl.
station_seen: Option<f64>When the Station asked to act last checked in, as Unix seconds; None for a settled
control or a Station the Registry has no check-in for.
queued_ahead: usizeHow many controls queued before this one wait for the same Station; 0 once delivered.
Implementations§
Trait Implementations§
Source§impl Clone for ControlStatus
impl Clone for ControlStatus
Source§fn clone(&self) -> ControlStatus
fn clone(&self) -> ControlStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more