[][src]Struct nakadi_types::partition::Cursor

pub struct Cursor {
    pub partition: PartitionId,
    pub offset: CursorOffset,
}

A cursor with an offset

See also Nakadi Manual

Fields

partition: PartitionIdoffset: CursorOffset

Implementations

impl Cursor[src]

pub fn new<A: Into<PartitionId>, B: Into<CursorOffset>>(
    partition: A,
    offset: B
) -> Self
[src]

Trait Implementations

impl Clone for Cursor[src]

impl Debug for Cursor[src]

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

impl Eq for Cursor[src]

impl PartialEq<Cursor> for Cursor[src]

impl Serialize for Cursor[src]

impl StructuralEq for Cursor[src]

impl StructuralPartialEq for Cursor[src]

Auto Trait Implementations

impl RefUnwindSafe for Cursor

impl Send for Cursor

impl Sync for Cursor

impl Unpin for Cursor

impl UnwindSafe for Cursor

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>,