Struct eventstore_tcp::raw::client_messages::ReadAllEvents
[−]
[src]
pub struct ReadAllEvents {
pub commit_position: i64,
pub prepare_position: i64,
pub max_count: i32,
pub resolve_link_tos: bool,
pub require_master: bool,
}Fields
commit_position: i64
prepare_position: i64
max_count: i32
resolve_link_tos: bool
require_master: bool
Methods
impl ReadAllEvents[src]
fn from_reader(r: &mut BytesReader, bytes: &[u8]) -> Result<Self>
Trait Implementations
impl Debug for ReadAllEvents[src]
impl Default for ReadAllEvents[src]
fn default() -> ReadAllEvents
Returns the "default value" for a type. Read more
impl PartialEq for ReadAllEvents[src]
fn eq(&self, __arg_0: &ReadAllEvents) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ReadAllEvents) -> bool
This method tests for !=.
impl Clone for ReadAllEvents[src]
fn clone(&self) -> ReadAllEvents
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 MessageWrite for ReadAllEvents[src]
fn get_size(&self) -> usize
Computes necessary binary size of self once serialized in protobuf
fn write_message<W: Write>(&self, w: &mut Writer<W>) -> Result<()>
Writes Self into W writer
fn write_file<P>(&self, p: P) -> Result<(), Error> where P: AsRef<Path>
Writes self into a file