pub enum CouncilJournalEvent {
Show 15 variants
SnapshotImported(CouncilSnapshotProvenance),
CouncilRegistered(Council),
CouncilReplaced(Council),
CouncilDeleted(Specialty),
AgentRegistered(AgentDescriptor),
AgentUnregistered(AgentId),
ContractRegistered(OutputContract),
ContractDeleted(OutputContractId),
DeliberationSnapshotSaved(Deliberation),
StatisticsRecorded(Statistics),
TaskDispatched(TaskDispatchedEvent),
TaskCompleted(TaskCompletedEvent),
TaskFailed(TaskFailedEvent),
DeliberationCompleted(DeliberationCompletedEvent),
PhaseChanged(PhaseChangedEvent),
}Expand description
Council facts have their own durable order, separate from ceremony events. A saved deliberation is explicitly a snapshot, never an invented phase history.
Variants§
SnapshotImported(CouncilSnapshotProvenance)
CouncilRegistered(Council)
CouncilReplaced(Council)
CouncilDeleted(Specialty)
AgentRegistered(AgentDescriptor)
AgentUnregistered(AgentId)
ContractRegistered(OutputContract)
ContractDeleted(OutputContractId)
DeliberationSnapshotSaved(Deliberation)
StatisticsRecorded(Statistics)
TaskDispatched(TaskDispatchedEvent)
TaskCompleted(TaskCompletedEvent)
TaskFailed(TaskFailedEvent)
DeliberationCompleted(DeliberationCompletedEvent)
PhaseChanged(PhaseChangedEvent)
Implementations§
Source§impl CouncilJournalEvent
impl CouncilJournalEvent
Sourcepub fn publication_id(&self) -> Option<&EventId>
pub fn publication_id(&self) -> Option<&EventId>
The caller’s stable publication identity, if this is a messaging fact.
Trait Implementations§
Source§impl Clone for CouncilJournalEvent
impl Clone for CouncilJournalEvent
Source§impl Debug for CouncilJournalEvent
impl Debug for CouncilJournalEvent
Source§impl<'de> Deserialize<'de> for CouncilJournalEvent
impl<'de> Deserialize<'de> for CouncilJournalEvent
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
Source§impl PartialEq for CouncilJournalEvent
impl PartialEq for CouncilJournalEvent
Source§impl Serialize for CouncilJournalEvent
impl Serialize for CouncilJournalEvent
impl StructuralPartialEq for CouncilJournalEvent
Auto Trait Implementations§
impl Freeze for CouncilJournalEvent
impl RefUnwindSafe for CouncilJournalEvent
impl Send for CouncilJournalEvent
impl Sync for CouncilJournalEvent
impl Unpin for CouncilJournalEvent
impl UnsafeUnpin for CouncilJournalEvent
impl UnwindSafe for CouncilJournalEvent
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