Struct eventstore_tcp::adapted::ReadStreamCompleted [] [src]

pub struct ReadStreamCompleted<'a> {
    pub events: Vec<ResolvedIndexedEvent<'a>>,
    pub next_page: Option<EventNumber>,
    pub last_event_number: StreamVersion,
    pub end_of_stream: bool,
    pub last_commit_position: i64,
}

Successful response to a Message::ReadStreamEvents.

Fields

The actual events returned by the server. Subject to resolve_link_tos setting on the read request.

EventNumber for a query for the next page in the same direction, None if start has been reached when reading backwards. When reading forwards, this will never be None as new events might have appeared while receiving this response.

Event number of the last event

Has the end of the stream been reached (or could more events be read immediatedly)

Last commit position of the last event. Not public as there is currently no type for an positive i64 (0 < x < i64). Also, not sure how to explain the use of this property.

Trait Implementations

impl<'a> Debug for ReadStreamCompleted<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ReadStreamCompleted<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Clone for ReadStreamCompleted<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more