[][src]Struct dendrite::axon_server::event::QueryEventsRequest

pub struct QueryEventsRequest {
    pub query: String,
    pub number_of_permits: i64,
    pub live_events: bool,
    pub force_read_from_leader: bool,
}

Message providing the parameters for executing a Query against AxonServer.

Fields

query: String

The query to execute against the Event Stream

number_of_permits: i64

The number of results AxonServer may send before new permits need to be provided

live_events: bool

Whether to keep the query running against incoming events once the Head of the Stream is reached

force_read_from_leader: bool

Indicates whether to force querying events from the leader node of an Axon Server. Forcing reads from leader reduces the staleness of the data read, but also puts extra burden on the leader, reducing overall scalability.

This property has no effect on connections to AxonServer SE.

Trait Implementations

impl Clone for QueryEventsRequest[src]

impl Debug for QueryEventsRequest[src]

impl Default for QueryEventsRequest[src]

impl Message for QueryEventsRequest[src]

impl PartialEq<QueryEventsRequest> for QueryEventsRequest[src]

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