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

pub struct GetAggregateEventsRequest {
    pub aggregate_id: String,
    pub initial_sequence: i64,
    pub allow_snapshots: bool,
    pub max_sequence: i64,
    pub min_token: i64,
}

Request describing the desire to read events for a specific Aggregate

Fields

aggregate_id: String

The identifier of the aggregate to read events for

initial_sequence: i64

The sequence number of the first event to receive

allow_snapshots: bool

Whether a snapshot may be returned as first element in the stream

max_sequence: i64

The maximum sequence number (inclusive) of the events to retrieve, 0 means up to last event

min_token: i64

Hint for a minimum token to search events from

Trait Implementations

impl Clone for GetAggregateEventsRequest[src]

impl Debug for GetAggregateEventsRequest[src]

impl Default for GetAggregateEventsRequest[src]

impl Message for GetAggregateEventsRequest[src]

impl PartialEq<GetAggregateEventsRequest> for GetAggregateEventsRequest[src]

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