pub struct AbandonIntent {
pub requested_at: OffsetDateTime,
pub reason: String,
}Expand description
A recorded request to end Work, durable from the moment the Abandon command is queued rather than from the moment a runner consumes it.
The gap between those two moments is where a supervisor used to restart a
Work item someone had already ended: the pending command carried the intent,
but the Work row still read Running, and every launch path reads that Work.
Fields§
§requested_at: OffsetDateTime§reason: StringTrait Implementations§
Source§impl Clone for AbandonIntent
impl Clone for AbandonIntent
Source§fn clone(&self) -> AbandonIntent
fn clone(&self) -> AbandonIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbandonIntent
impl Debug for AbandonIntent
Source§impl<'de> Deserialize<'de> for AbandonIntent
impl<'de> Deserialize<'de> for AbandonIntent
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 AbandonIntent
Source§impl PartialEq for AbandonIntent
impl PartialEq for AbandonIntent
Source§impl Serialize for AbandonIntent
impl Serialize for AbandonIntent
impl StructuralPartialEq for AbandonIntent
Auto Trait Implementations§
impl Freeze for AbandonIntent
impl RefUnwindSafe for AbandonIntent
impl Send for AbandonIntent
impl Sync for AbandonIntent
impl Unpin for AbandonIntent
impl UnsafeUnpin for AbandonIntent
impl UnwindSafe for AbandonIntent
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§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.