pub struct ProcessManagerResponse {
pub commands: Vec<CommandBook>,
pub process_events: Option<EventBook>,
pub facts: Vec<EventBook>,
}Expand description
Response from process manager handlers.
Fields§
§commands: Vec<CommandBook>Commands to send to other aggregates.
process_events: Option<EventBook>Events to persist to the PM’s own domain.
facts: Vec<EventBook>Facts to inject to other aggregates.
Trait Implementations§
Source§impl Default for ProcessManagerResponse
impl Default for ProcessManagerResponse
Source§fn default() -> ProcessManagerResponse
fn default() -> ProcessManagerResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessManagerResponse
impl RefUnwindSafe for ProcessManagerResponse
impl Send for ProcessManagerResponse
impl Sync for ProcessManagerResponse
impl Unpin for ProcessManagerResponse
impl UnsafeUnpin for ProcessManagerResponse
impl UnwindSafe for ProcessManagerResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request