pub struct NetzengpassEvent(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 NetzengpassEvent
impl Clone for NetzengpassEvent
Source§fn clone(&self) -> NetzengpassEvent
fn clone(&self) -> NetzengpassEvent
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 NetzengpassEvent
impl Debug for NetzengpassEvent
Source§impl<'de> Deserialize<'de> for NetzengpassEvent
impl<'de> Deserialize<'de> for NetzengpassEvent
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 NetzengpassEvent
impl EventPayload for NetzengpassEvent
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 NetzengpassEvent
impl From<AckForwardEvent> for NetzengpassEvent
Source§fn from(e: AckForwardEvent) -> Self
fn from(e: AckForwardEvent) -> Self
Converts to this type from the input type.
Source§impl From<NetzengpassEvent> for AckForwardEvent
impl From<NetzengpassEvent> for AckForwardEvent
Source§fn from(e: NetzengpassEvent) -> AckForwardEvent
fn from(e: NetzengpassEvent) -> AckForwardEvent
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetzengpassEvent
impl RefUnwindSafe for NetzengpassEvent
impl Send for NetzengpassEvent
impl Sync for NetzengpassEvent
impl Unpin for NetzengpassEvent
impl UnsafeUnpin for NetzengpassEvent
impl UnwindSafe for NetzengpassEvent
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