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