Struct dendrite::axon_server::command::Command[][src]

pub struct Command {
    pub message_identifier: String,
    pub name: String,
    pub timestamp: i64,
    pub payload: Option<SerializedObject>,
    pub meta_data: HashMap<String, MetaDataValue>,
    pub processing_instructions: Vec<ProcessingInstruction>,
    pub client_id: String,
    pub component_name: String,
}

A message representing a Command that needs to be routed to a component capable of handling it

Fields

message_identifier: String

The unique identifier of the Command Message

name: String

The name of the command, used for routing it to a destination capable of handling it

timestamp: i64

The time at which the command was dispatched

payload: Option<SerializedObject>

The payload of the Command, providing details on the instructions for the recipient

meta_data: HashMap<String, MetaDataValue>

Meta Data entries of the Command Message, providing contextual information to the recipient

processing_instructions: Vec<ProcessingInstruction>

Instructions for AxonServer when routing this Command Message

client_id: String

The unique identifier of the component dispatching this message

component_name: String

The name/type of the component dispatching this message

Trait Implementations

impl Clone for Command[src]

impl Debug for Command[src]

impl Default for Command[src]

impl Message for Command[src]

impl PartialEq<Command> for Command[src]

impl StructuralPartialEq for Command[src]

Auto Trait Implementations

impl RefUnwindSafe for Command

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> VecU8Message for T where
    T: Message
[src]

impl<T> WithSubscriber for T[src]