Enum nakadion::api::ReadFrom[][src]

pub enum ReadFrom {
    Begin,
    End,
}

An offset on the stream when creating a subscription.

The enum is described in more detail in the Nakadi Documentation as the read_from member.

Variants

Read from the beginning of the stream.

Serialization(JSON)

"begin"

Read from the end of the stream.

Serialization(JSON)

"end"

Trait Implementations

impl Debug for ReadFrom
[src]

Formats the value using the given formatter. Read more

impl Clone for ReadFrom
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Serialize for ReadFrom
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for ReadFrom
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for ReadFrom

impl Sync for ReadFrom