pub struct ListOffsetsTopicResponse {
pub name: KafkaString,
pub partitions: Vec<ListOffsetsPartitionResponse>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe topic name.
partitions: Vec<ListOffsetsPartitionResponse>Each partition in the response.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ListOffsetsTopicResponse
impl ListOffsetsTopicResponse
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_partitions(self, value: Vec<ListOffsetsPartitionResponse>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for ListOffsetsTopicResponse
impl Clone for ListOffsetsTopicResponse
Source§fn clone(&self) -> ListOffsetsTopicResponse
fn clone(&self) -> ListOffsetsTopicResponse
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 moreSource§impl Debug for ListOffsetsTopicResponse
impl Debug for ListOffsetsTopicResponse
Source§impl Default for ListOffsetsTopicResponse
impl Default for ListOffsetsTopicResponse
Source§impl PartialEq for ListOffsetsTopicResponse
impl PartialEq for ListOffsetsTopicResponse
Source§fn eq(&self, other: &ListOffsetsTopicResponse) -> bool
fn eq(&self, other: &ListOffsetsTopicResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListOffsetsTopicResponse
Auto Trait Implementations§
impl !Freeze for ListOffsetsTopicResponse
impl RefUnwindSafe for ListOffsetsTopicResponse
impl Send for ListOffsetsTopicResponse
impl Sync for ListOffsetsTopicResponse
impl Unpin for ListOffsetsTopicResponse
impl UnsafeUnpin for ListOffsetsTopicResponse
impl UnwindSafe for ListOffsetsTopicResponse
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