[][src]Struct nakadi_types::subscription::SubscriptionCursor

pub struct SubscriptionCursor {
    pub cursor: Cursor,
    pub event_type: EventTypeName,
    pub cursor_token: CursorToken,
}

Cursor of a subscription with a CursorToken which is usually found within a SubscriptionEventStreamBatch.

See also Nakadi Manual

Fields

cursor: Cursorevent_type: EventTypeName

The name of the event type this partition’s events belong to.

cursor_token: CursorToken

An opaque value defined by the server.

Implementations

impl SubscriptionCursor[src]

pub fn into_event_type_cursor(self) -> EventTypeCursor[src]

pub fn into_event_type_cursor_begin(self) -> EventTypeCursor[src]

Turns this into a EventTypeCursor that points to the begin of the subscription

pub fn into_event_type_partition(self) -> EventTypePartition[src]

pub fn to_event_type_partition(&self) -> EventTypePartition[src]

Trait Implementations

impl Clone for SubscriptionCursor[src]

impl Debug for SubscriptionCursor[src]

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

impl Eq for SubscriptionCursor[src]

impl EventTypePartitionLike for SubscriptionCursor[src]

impl From<SubscriptionCursor> for EventTypePartition[src]

impl From<SubscriptionCursor> for EventTypeCursor[src]

impl PartialEq<SubscriptionCursor> for SubscriptionCursor[src]

impl Serialize for SubscriptionCursor[src]

impl StructuralEq for SubscriptionCursor[src]

impl StructuralPartialEq for SubscriptionCursor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,