pub struct OperatorResume {
pub question_id: String,
pub at: Timestamp,
pub conductor_rehold: Option<String>,
pub forced: bool,
pub pinned_run: Option<String>,
}Expand description
A triage “resume” answer and what became of it. See
Task::resume_override.
Fields§
§question_id: StringThe triage question the operator answered.
at: TimestampWhen the answer was applied.
conductor_rehold: Option<String>The reason crate::conduct gave for holding the task again after the
answer, if it did. The conductor may do this once.
forced: boolThe operator answered “resume” a second time, to the question about that contradiction: the conductor may no longer hold this task.
pinned_run: Option<String>Set when the answer was a structured resume action on a magi ask
choice (crate::ask::ChoiceAction::Resume): the run the operator
chose to continue. Its presence also stops crate::conduct from
requeuing the task into a fresh competition, which would discard
exactly the run that was named. Cleared with the rest of the record
once the task runs. #[serde(default)] so older records read as None.
Trait Implementations§
Source§impl Clone for OperatorResume
impl Clone for OperatorResume
Source§impl Debug for OperatorResume
impl Debug for OperatorResume
Source§impl<'de> Deserialize<'de> for OperatorResume
impl<'de> Deserialize<'de> for OperatorResume
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>,
impl Eq for OperatorResume
Source§impl PartialEq for OperatorResume
impl PartialEq for OperatorResume
Source§impl Serialize for OperatorResume
impl Serialize for OperatorResume
impl StructuralPartialEq for OperatorResume
Auto Trait Implementations§
impl Freeze for OperatorResume
impl RefUnwindSafe for OperatorResume
impl Send for OperatorResume
impl Sync for OperatorResume
impl Unpin for OperatorResume
impl UnsafeUnpin for OperatorResume
impl UnwindSafe for OperatorResume
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more