pub type Envelope<T> = Envelope<T>;Expand description
A Message carrying the Domain Query itself as payload and other relevant information as metadata.
Aliased Type§
struct Envelope<T> {
pub message: T,
pub metadata: HashMap<String, String>,
}Fields§
§message: TThe message payload.
metadata: HashMap<String, String>Optional metadata to provide additional context to the message.