Struct eventstore_tcp::adapted::ReadAllCompleted
[−]
[src]
pub struct ReadAllCompleted<'a> { pub commit_position: LogPosition, pub prepare_position: LogPosition, pub events: Vec<ResolvedEvent<'a>>, pub next_commit_position: Option<LogPosition>, pub next_prepare_position: Option<LogPosition>, }
Successful response to Message::ReadAllEvents
.
Fields
commit_position: LogPosition
Position of the commit of the current prepare
prepare_position: LogPosition
Position of the current prepare
events: Vec<ResolvedEvent<'a>>
The read events, with position metadata
next_commit_position: Option<LogPosition>
For paging: next commit position
next_prepare_position: Option<LogPosition>
For paging: next prepare position
Trait Implementations
impl<'a> Debug for ReadAllCompleted<'a>
[src]
impl<'a> Clone for ReadAllCompleted<'a>
[src]
fn clone(&self) -> ReadAllCompleted<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> PartialEq for ReadAllCompleted<'a>
[src]
fn eq(&self, __arg_0: &ReadAllCompleted<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReadAllCompleted<'a>) -> bool
This method tests for !=
.