Struct eventstore_tcp::raw::client_messages::WriteEvents [] [src]

pub struct WriteEvents<'a> {
    pub event_stream_id: Cow<'a, str>,
    pub expected_version: i32,
    pub events: Vec<NewEvent<'a>>,
    pub require_master: bool,
}

Fields

Methods

impl<'a> WriteEvents<'a>
[src]

Trait Implementations

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

Formats the value using the given formatter.

impl<'a> Default for WriteEvents<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> PartialEq for WriteEvents<'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 WriteEvents<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> MessageWrite for WriteEvents<'a>
[src]

Computes necessary binary size of self once serialized in protobuf

Writes Self into W writer

Writes self into a file