Struct nakadi_types::subscription::SubscriptionCursor [−][src]
pub struct SubscriptionCursor { pub cursor: Cursor, pub event_type: EventTypeName, pub cursor_token: CursorToken, }
Expand description
Cursor of a subscription with a CursorToken
which is usually found within a
SubscriptionEventStreamBatch
.
See also Nakadi Manual
Fields
cursor: Cursor
event_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
Turns this into a EventTypeCursor
that points to the begin of the subscription
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionCursor
impl Send for SubscriptionCursor
impl Sync for SubscriptionCursor
impl Unpin for SubscriptionCursor
impl UnwindSafe for SubscriptionCursor
Blanket Implementations
Mutably borrows from an owned value. Read more