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

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

Message representing an incoming Query

Fields

message_identifier: String

The message ID of the incoming Query

query: String

The name of the Query to execute

timestamp: i64

The timestamp of the Query creation

payload: Option<SerializedObject>

A payload accompanying the Query

meta_data: HashMap<String, MetaDataValue>

Meta Data providing contextual information of the Query

response_type: Option<SerializedObject>

An object describing the expectations of the Response Type

processing_instructions: Vec<ProcessingInstruction>

Any instructions for components Routing or Handling the Query

client_id: String

The unique identifier of the client instance dispatching the query

component_name: String

The Name of the Component dispatching the query

Trait Implementations

impl Clone for QueryRequest[src]

impl Debug for QueryRequest[src]

impl Default for QueryRequest[src]

impl Message for QueryRequest[src]

impl PartialEq<QueryRequest> for QueryRequest[src]

impl StructuralPartialEq for QueryRequest[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]