pub struct TurnOrigin {
pub kind: OriginKind,
pub jobs: Vec<String>,
pub retry_seconds: Option<u64>,
pub outcomes: Vec<JobOutcome>,
}Expand description
Why the server started a turn on its own.
Fields§
§kind: OriginKindWhat the turn is for.
jobs: Vec<String>The background jobs this turn reports. Its end settles them: the
model has seen their results when it completes, the user stopped the
report when it is cancelled, and when it fails they are reported
directly (ServerEvent::BackgroundReported,
sent first), unless retry_seconds is set.
retry_seconds: Option<u64>On a report turn’s turn.failed only: its jobs are still unreported,
and the server starts another report turn for them in about this many
seconds, or as soon as another turn succeeds. Absent everywhere else,
and from servers before 0.3.11, whose failed report turns settled their
jobs.
outcomes: Vec<JobOutcome>The outcomes of the reviewed jobs among jobs, which clients show
as SCV’s own lines before the model’s report. Absent from servers
before 0.3.14.