[][src]Struct kafka::client::CommitOffset

pub struct CommitOffset<'a> {
    pub offset: i64,
    pub topic: &'a str,
    pub partition: i32,
}

Data point identifying a particular topic partition offset to be commited. See KafkaClient::commit_offsets.

Fields

offset: i64

The offset to be committed

topic: &'a str

The topic to commit the offset for

partition: i32

The partition to commit the offset for

Methods

impl<'a> CommitOffset<'a>[src]

pub fn new(topic: &'a str, partition: i32, offset: i64) -> Self[src]

Trait Implementations

impl<'a> AsRef<CommitOffset<'a>> for CommitOffset<'a>[src]

impl<'a> Debug for CommitOffset<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for CommitOffset<'a>

impl<'a> Sync for CommitOffset<'a>

impl<'a> Send for CommitOffset<'a>

impl<'a> UnwindSafe for CommitOffset<'a>

impl<'a> RefUnwindSafe for CommitOffset<'a>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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