pub struct StatusanfrageWorkflow;Expand description
Statusanfrage workflow — StatusRequest_MarketDocument.
Not a request/response pair. The document’s type is A60 (status
request for a position independently from a specific process) or Z15
Erreichbarkeitsinformation, and its status carries A03 Deactivated /
A04 Reactivated / A13 Withdrawn — a communication-availability
notification about a Marktpartner. There is no answer document and no
24-hour window; the acknowledgement is the only thing owed back
(StatusRequest_MarketDocument FB 1.1).
Implementations§
Source§impl StatusanfrageWorkflow
impl StatusanfrageWorkflow
Sourcepub const WORKFLOW_NAME: &'static str = statusanfrage::WORKFLOW_NAME
pub const WORKFLOW_NAME: &'static str = statusanfrage::WORKFLOW_NAME
The name this workflow’s processes are spawned and resumed under — the module constant, restated on the type so a reader holding the struct can reach it.
Sourcepub fn event_prefix() -> &'static str
pub fn event_prefix() -> &'static str
Return the event-type prefix for this workflow’s events.
Trait Implementations§
Source§impl Workflow for StatusanfrageWorkflow
impl Workflow for StatusanfrageWorkflow
Source§type State = AckForwardState
type State = AckForwardState
Domain-specific process state, reconstructed by replaying events.
Source§type Event = StatusanfrageEvent
type Event = StatusanfrageEvent
Domain event type emitted by this workflow.
Source§type Command = AckForwardCommand
type Command = AckForwardCommand
Command type handled by this workflow.
Source§fn on_deadline(
deadline: &Deadline,
state: &Self::State,
) -> Option<Self::Command>
fn on_deadline( deadline: &Deadline, state: &Self::State, ) -> Option<Self::Command>
Map a fired deadline to a compensating command. Read more
Source§fn apply(state: Self::State, event: &Self::Event) -> Self::State
fn apply(state: Self::State, event: &Self::Event) -> Self::State
Fold a domain event into the current state. Read more
Source§fn handle(
state: &Self::State,
command: Self::Command,
) -> Result<WorkflowOutput<Self::Event>, WorkflowError>
fn handle( state: &Self::State, command: Self::Command, ) -> Result<WorkflowOutput<Self::Event>, WorkflowError>
Source§fn state_schema_version() -> u32
fn state_schema_version() -> u32
Schema version for serialized
Workflow::State payloads. Read moreSource§fn upcast(
_event_type: &str,
_from_version: u32,
payload: Value,
) -> Result<Value, EngineError>
fn upcast( _event_type: &str, _from_version: u32, payload: Value, ) -> Result<Value, EngineError>
Upcast a stored event payload from an older schema version. Read more
Source§fn version_policy() -> WorkflowVersionPolicy
fn version_policy() -> WorkflowVersionPolicy
Declares which BDEW format versions this workflow accepts for in-flight
processes. Read more
Auto Trait Implementations§
impl Freeze for StatusanfrageWorkflow
impl RefUnwindSafe for StatusanfrageWorkflow
impl Send for StatusanfrageWorkflow
impl Sync for StatusanfrageWorkflow
impl Unpin for StatusanfrageWorkflow
impl UnsafeUnpin for StatusanfrageWorkflow
impl UnwindSafe for StatusanfrageWorkflow
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