pub enum EventPayload {
Json(String),
RerankExecuted(RerankExecutedPayload),
ProposalReviewed(ProposalReviewedPayload),
ProposalApplied(ProposalAppliedPayload),
ProposalWithdrawn(ProposalWithdrawnPayload),
}Expand description
Variants§
Json(String)
Raw JSON payload for untyped events.
RerankExecuted(RerankExecutedPayload)
Structured payload for a rerank pass event.
ProposalReviewed(ProposalReviewedPayload)
Structured payload for a proposal-reviewed event.
ProposalApplied(ProposalAppliedPayload)
Structured payload for a proposal-applied event.
ProposalWithdrawn(ProposalWithdrawnPayload)
Structured payload for a proposal-withdrawn event.
Trait Implementations§
Source§impl Clone for EventPayload
impl Clone for EventPayload
Source§fn clone(&self) -> EventPayload
fn clone(&self) -> EventPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventPayload
impl Debug for EventPayload
Source§impl Default for EventPayload
impl Default for EventPayload
Source§impl PartialEq for EventPayload
impl PartialEq for EventPayload
Source§fn eq(&self, other: &EventPayload) -> bool
fn eq(&self, other: &EventPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventPayload
Auto Trait Implementations§
impl Freeze for EventPayload
impl RefUnwindSafe for EventPayload
impl Send for EventPayload
impl Sync for EventPayload
impl Unpin for EventPayload
impl UnsafeUnpin for EventPayload
impl UnwindSafe for EventPayload
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