pub struct Resumption {
pub booked_by: ItineraryId,
pub waiting_for: String,
pub booked_at: Timestamp,
pub checks: u32,
}Expand description
Work being picked up after a deliberate wait.
Fields§
§booked_by: ItineraryIdThe chain that set this work down.
waiting_for: StringWhat the earlier run said it was waiting for.
booked_at: TimestampWhen it was set down.
checks: u32How many times it has been picked up and found nothing yet.
Told to the agent because it changes what a reasonable response is. Finding nothing on the first check is normal; finding nothing on the twelfth is worth saying out loud rather than quietly booking a thirteenth.
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