pub struct DescribedShareGroupOffsetsTopic {
pub topic_name: String,
pub topic_id: [u8; 16],
pub partitions: Vec<DescribedShareGroupOffsetsPartition>,
}Expand description
One topic in a described share-group offsets group.
Fields§
§topic_name: StringTopic name.
topic_id: [u8; 16]Topic id (UUID), or zeros.
partitions: Vec<DescribedShareGroupOffsetsPartition>Partitions in this topic.
Implementations§
Sourcepub fn topic_name(&self) -> &str
pub fn topic_name(&self) -> &str
Topic name.
Sourcepub fn partitions(&self) -> &[DescribedShareGroupOffsetsPartition]
pub fn partitions(&self) -> &[DescribedShareGroupOffsetsPartition]
Per-partition offsets.
Trait Implementations§
Source§fn clone(&self) -> DescribedShareGroupOffsetsTopic
fn clone(&self) -> DescribedShareGroupOffsetsTopic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more