pub struct ReassignableTopicResponse {
pub name: KafkaString,
pub partitions: Vec<ReassignablePartitionResponse>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe topic name.
partitions: Vec<ReassignablePartitionResponse>The responses to partitions to reassign.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ReassignableTopicResponse
impl ReassignableTopicResponse
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_partitions(self, value: Vec<ReassignablePartitionResponse>) -> 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 ReassignableTopicResponse
impl Clone for ReassignableTopicResponse
Source§fn clone(&self) -> ReassignableTopicResponse
fn clone(&self) -> ReassignableTopicResponse
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 ReassignableTopicResponse
impl Debug for ReassignableTopicResponse
Source§impl Default for ReassignableTopicResponse
impl Default for ReassignableTopicResponse
Source§impl PartialEq for ReassignableTopicResponse
impl PartialEq for ReassignableTopicResponse
Source§fn eq(&self, other: &ReassignableTopicResponse) -> bool
fn eq(&self, other: &ReassignableTopicResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReassignableTopicResponse
Auto Trait Implementations§
impl !Freeze for ReassignableTopicResponse
impl RefUnwindSafe for ReassignableTopicResponse
impl Send for ReassignableTopicResponse
impl Sync for ReassignableTopicResponse
impl Unpin for ReassignableTopicResponse
impl UnsafeUnpin for ReassignableTopicResponse
impl UnwindSafe for ReassignableTopicResponse
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