pub struct RoundReport {
pub round: u32,
pub attempt: u32,
pub reported_at: Timestamp,
pub event_seq: u64,
pub summary: String,
pub interrupted: bool,
pub closed_at: Option<Timestamp>,
pub closed_by: Option<String>,
}Expand description
One told round report of a resident worker (node.round_reported).
Fields§
§round: u321-based round number.
attempt: u32Worker attempt that reported it.
reported_at: TimestampEnvelope timestamp of the report (the idle-expiry anchor).
event_seq: u64Event sequence of the report.
summary: StringWorker-written summary of the round (bounded). For an interrupted round it is Taskfleet’s note until the worker’s own report amends it.
interrupted: boolThe parent stopped this round with run interrupt (the worker did not
end it itself). Sticky for the round: a worker report that races the
interrupt amends the summary, but the round stays interrupted.
closed_at: Option<Timestamp>Set when the next message resumed the worker.
closed_by: Option<String>Message id that closed the round.
Trait Implementations§
Source§impl Clone for RoundReport
impl Clone for RoundReport
Source§impl Debug for RoundReport
impl Debug for RoundReport
Source§impl<'de> Deserialize<'de> for RoundReport
impl<'de> Deserialize<'de> for RoundReport
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 RoundReport
Source§impl PartialEq for RoundReport
impl PartialEq for RoundReport
Source§impl Serialize for RoundReport
impl Serialize for RoundReport
impl StructuralPartialEq for RoundReport
Auto Trait Implementations§
impl Forget for RoundReport
impl Freeze for RoundReport
impl Move for RoundReport
impl RefUnwindSafe for RoundReport
impl Send for RoundReport
impl Sync for RoundReport
impl Unpin for RoundReport
impl UnsafeUnpin for RoundReport
impl UnwindSafe for RoundReport
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