Struct kafka::client::FetchGroupOffset [] [src]

pub struct FetchGroupOffset<'a> {
    pub topic: &'a str,
    pub partition: i32,
}

Data point identifying a topic partition to fetch a group's offset for. See KafkaClient::fetch_group_offsets.

Fields

topic: &'a str

The topic to fetch the group offset for

partition: i32

The partition to fetch the group offset for

Methods

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

fn new(topic: &'a str, partition: i32) -> Self

Trait Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn as_ref(&self) -> &Self

Performs the conversion.