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

pub struct SubscriptionQueryResponse {
    pub message_identifier: String,
    pub subscription_identifier: String,
    pub response: Option<Response>,
}

Represents a Response Message for a Subscription Query

Fields

message_identifier: String

The unique identifier for this message

subscription_identifier: String

The identifier of the subscription query this is a response for

response: Option<Response>

The actual response. The initial_result message is sent as a response to get_initial_result. An update messages is sent for each update available for the query, even before the Initial Result is supplied. The complete or complete_exceptionally are sent when the publishing side completed the Subscription Query, either regularly (complete) or because an error occurred (complete_exceptionally).

Trait Implementations

impl Clone for SubscriptionQueryResponse[src]

impl Debug for SubscriptionQueryResponse[src]

impl Default for SubscriptionQueryResponse[src]

impl Message for SubscriptionQueryResponse[src]

impl PartialEq<SubscriptionQueryResponse> for SubscriptionQueryResponse[src]

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