pub struct ShareFetchableTopicResponse {
pub topic_id: KafkaUuid,
pub partitions: Vec<PartitionData>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§topic_id: KafkaUuidThe unique topic ID.
partitions: Vec<PartitionData>The topic partitions.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
pub fn with_topic_id(self, value: KafkaUuid) -> Self
pub fn with_partitions(self, value: Vec<PartitionData>) -> 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§fn clone(&self) -> ShareFetchableTopicResponse
fn clone(&self) -> ShareFetchableTopicResponse
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§fn eq(&self, other: &ShareFetchableTopicResponse) -> bool
fn eq(&self, other: &ShareFetchableTopicResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto 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