Enum eventstore_tcp::ContentType [] [src]

pub enum ContentType {
    Bytes,
    Json,
}

Content type of the event data or metadata.

Variants

Raw bytes

JSON values usable with projections in EventStore

Trait Implementations

impl Debug for ContentType
[src]

Formats the value using the given formatter.

impl PartialEq for ContentType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ContentType
[src]

impl Clone for ContentType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ContentType
[src]

impl Into<i32> for ContentType
[src]

Performs the conversion.