pub struct CouncilRunEvent {
pub run_id: String,
pub seq: i64,
pub event_json: String,
pub created_at: String,
pub wave_index: u32,
}Expand description
A single persisted event record within an orchestrator run.
Events are appended in sequence order; replaying the full event list reconstructs the run history.
Fields§
§run_id: StringForeign-key reference to CouncilRun::id.
seq: i640-based monotonically increasing sequence number within the run.
event_json: StringSerialised crate::domain::council::events::CouncilEvent JSON.
created_at: StringISO-8601 creation timestamp.
wave_index: u320-based wave index at which this event was emitted.
Used by the Phase M rewind feature to truncate events after a given
wave and re-execute from that point. Defaults to 0.
Trait Implementations§
Source§impl Clone for CouncilRunEvent
impl Clone for CouncilRunEvent
Source§fn clone(&self) -> CouncilRunEvent
fn clone(&self) -> CouncilRunEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 CouncilRunEvent
impl Debug for CouncilRunEvent
Source§impl<'de> Deserialize<'de> for CouncilRunEvent
impl<'de> Deserialize<'de> for CouncilRunEvent
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
Auto Trait Implementations§
impl Freeze for CouncilRunEvent
impl RefUnwindSafe for CouncilRunEvent
impl Send for CouncilRunEvent
impl Sync for CouncilRunEvent
impl Unpin for CouncilRunEvent
impl UnwindSafe for CouncilRunEvent
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