pub struct Resumption {
pub generation: u64,
pub source: String,
pub question_id: Option<String>,
pub at: Timestamp,
pub instruction: String,
pub answers_through: usize,
pub runs_through: usize,
pub cleared_reason: Option<String>,
pub blocking_evidence: Vec<String>,
}Expand description
Durable scope of an explicit operator resumption, surviving run startup.
Fields§
§generation: u64Monotonic count of explicit resumptions.
source: StringMutation path that applied the approval.
question_id: Option<String>Answered question, if the approval came from one.
at: TimestampWhen this approval was applied.
instruction: StringAuthored instruction approved at release.
answers_through: usizeNumber of historical answers superseded as waiting premises.
runs_through: usizeLegacy run-list boundary retained for record compatibility. Evidence uses approval time and run passes because resumes retain the same id.
cleared_reason: Option<String>Previous hold or dependency reason cleared by this release.
blocking_evidence: Vec<String>Verified evidence versions already used to block after this approval.
Trait Implementations§
Source§impl Clone for Resumption
impl Clone for Resumption
Source§impl Debug for Resumption
impl Debug for Resumption
Source§impl<'de> Deserialize<'de> for Resumption
impl<'de> Deserialize<'de> for Resumption
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
impl Eq for Resumption
Source§impl PartialEq for Resumption
impl PartialEq for Resumption
Source§impl Serialize for Resumption
impl Serialize for Resumption
impl StructuralPartialEq for Resumption
Auto Trait Implementations§
impl Freeze for Resumption
impl RefUnwindSafe for Resumption
impl Send for Resumption
impl Sync for Resumption
impl Unpin for Resumption
impl UnsafeUnpin for Resumption
impl UnwindSafe for Resumption
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
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
Compare self to
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> ⓘ
Converts
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> ⓘ
Converts
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