pub struct GhostSweepRow {
pub id: i64,
pub task_id: String,
pub role: String,
pub session_id: String,
pub generation: i64,
pub seq_before: i64,
pub seq_after: i64,
pub outcome: Outcome,
pub evidence: String,
pub swept_at: i64,
}Expand description
One settlement the server’s ghost sweep recorded in its own audit table.
seq_before and seq_after are the mirror row’s two versions. The sweep
writes through the same settlement path a repair_* verb uses, and that path
bumps seq by one, so the pair names the exact write an operator is reading
about. swept_at holds the kernel’s unix seconds and the column holds the
RFC 3339 text this crate’s conversion helpers produce.
Fields§
§id: i64§task_id: String§role: String§session_id: String§generation: i64§seq_before: i64§seq_after: i64§outcome: OutcomeThe verdict written onto the mirror row, read off the task’s ledger row.
evidence: StringWhat justified the sweep: the evidence tag plus the ledger state it read.
swept_at: i64Trait Implementations§
Source§impl Clone for GhostSweepRow
impl Clone for GhostSweepRow
Source§impl Debug for GhostSweepRow
impl Debug for GhostSweepRow
Source§impl<'de> Deserialize<'de> for GhostSweepRow
impl<'de> Deserialize<'de> for GhostSweepRow
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 GhostSweepRow
Source§impl PartialEq for GhostSweepRow
impl PartialEq for GhostSweepRow
Source§impl Serialize for GhostSweepRow
impl Serialize for GhostSweepRow
impl StructuralPartialEq for GhostSweepRow
Auto Trait Implementations§
impl Freeze for GhostSweepRow
impl RefUnwindSafe for GhostSweepRow
impl Send for GhostSweepRow
impl Sync for GhostSweepRow
impl Unpin for GhostSweepRow
impl UnsafeUnpin for GhostSweepRow
impl UnwindSafe for GhostSweepRow
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