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

pub struct NewEvent<'a> {
    pub event_id: Cow<'a, [u8]>,
    pub event_type: Cow<'a, str>,
    pub data_content_type: i32,
    pub metadata_content_type: i32,
    pub data: Cow<'a, [u8]>,
    pub metadata: Option<Cow<'a, [u8]>>,
}

Fields

Methods

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

Trait Implementations

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

[]

Formats the value using the given formatter.

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

[]

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

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

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

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

[]

Computes necessary binary size of self once serialized in protobuf

[]

Writes Self into W writer

[]

Writes self into a file