pub struct KostenblattEvent(pub AckForwardEvent);Expand description
Workflow-specific event newtype for one of the six ack-forward process families.
Wraps AckForwardEvent and returns a workflow-specific prefix from
EventPayload::event_type so events from different ack-forward
workflows are distinguishable in projections and the event log.
Tuple Fields§
§0: AckForwardEventTrait Implementations§
Source§impl Clone for KostenblattEvent
impl Clone for KostenblattEvent
Source§fn clone(&self) -> KostenblattEvent
fn clone(&self) -> KostenblattEvent
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 KostenblattEvent
impl Debug for KostenblattEvent
Source§impl<'de> Deserialize<'de> for KostenblattEvent
impl<'de> Deserialize<'de> for KostenblattEvent
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 EventPayload for KostenblattEvent
impl EventPayload for KostenblattEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
A stable, unique name for this event variant. Read more
Source§fn schema_version(&self) -> u32
fn schema_version(&self) -> u32
Schema version of this event’s payload layout. Read more
Source§impl From<AckForwardEvent> for KostenblattEvent
impl From<AckForwardEvent> for KostenblattEvent
Source§fn from(e: AckForwardEvent) -> Self
fn from(e: AckForwardEvent) -> Self
Converts to this type from the input type.
Source§impl From<KostenblattEvent> for AckForwardEvent
impl From<KostenblattEvent> for AckForwardEvent
Source§fn from(e: KostenblattEvent) -> AckForwardEvent
fn from(e: KostenblattEvent) -> AckForwardEvent
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KostenblattEvent
impl RefUnwindSafe for KostenblattEvent
impl Send for KostenblattEvent
impl Sync for KostenblattEvent
impl Unpin for KostenblattEvent
impl UnsafeUnpin for KostenblattEvent
impl UnwindSafe for KostenblattEvent
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