Struct eventstore_tcp::raw::client_messages::SubscriptionConfirmation
[−]
[src]
pub struct SubscriptionConfirmation { pub last_commit_position: i64, pub last_event_number: Option<i32>, }
Fields
last_commit_position: i64
last_event_number: Option<i32>
Methods
impl SubscriptionConfirmation
[src]
fn from_reader(r: &mut BytesReader, bytes: &[u8]) -> Result<Self>
Trait Implementations
impl Debug for SubscriptionConfirmation
[src]
impl Default for SubscriptionConfirmation
[src]
fn default() -> SubscriptionConfirmation
Returns the "default value" for a type. Read more
impl PartialEq for SubscriptionConfirmation
[src]
fn eq(&self, __arg_0: &SubscriptionConfirmation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SubscriptionConfirmation) -> bool
This method tests for !=
.
impl Clone for SubscriptionConfirmation
[src]
fn clone(&self) -> SubscriptionConfirmation
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 SubscriptionConfirmation
[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