Struct dendrite::axon_server::query::QueryResponse[][src]

pub struct QueryResponse {
    pub message_identifier: String,
    pub error_code: String,
    pub error_message: Option<ErrorMessage>,
    pub payload: Option<SerializedObject>,
    pub meta_data: HashMap<String, MetaDataValue>,
    pub processing_instructions: Vec<ProcessingInstruction>,
    pub request_identifier: String,
}

Message that represents the Response to a Query

Fields

message_identifier: String

The unique identifier of the Response Message

error_code: String

An Error Code identifying the type of error, if any

error_message: Option<ErrorMessage>

A detailed description of the error, if any

payload: Option<SerializedObject>

The Payload of the Response Message

meta_data: HashMap<String, MetaDataValue>

Any Meta Data describing the context of the Response Message

processing_instructions: Vec<ProcessingInstruction>

Any instructions for components Routing or Handling the Response Message

request_identifier: String

The unique identifier of the Query to which this is a response

Trait Implementations

impl Clone for QueryResponse[src]

impl Debug for QueryResponse[src]

impl Default for QueryResponse[src]

impl Message for QueryResponse[src]

impl PartialEq<QueryResponse> for QueryResponse[src]

impl StructuralPartialEq for QueryResponse[src]

Auto Trait Implementations

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]