pub struct ListPartitionReassignmentsRequestData {
pub timeout_ms: i32,
pub topics: Option<Vec<ListPartitionReassignmentsTopics>>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§timeout_ms: i32The time in ms to wait for the request to complete.
topics: Option<Vec<ListPartitionReassignmentsTopics>>The topics to list partition reassignments for, or null to list everything.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ListPartitionReassignmentsRequestData
impl ListPartitionReassignmentsRequestData
pub fn with_timeout_ms(self, value: i32) -> Self
pub fn with_topics( self, value: Option<Vec<ListPartitionReassignmentsTopics>>, ) -> 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 ListPartitionReassignmentsRequestData
impl Clone for ListPartitionReassignmentsRequestData
Source§fn clone(&self) -> ListPartitionReassignmentsRequestData
fn clone(&self) -> ListPartitionReassignmentsRequestData
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 PartialEq for ListPartitionReassignmentsRequestData
impl PartialEq for ListPartitionReassignmentsRequestData
Source§fn eq(&self, other: &ListPartitionReassignmentsRequestData) -> bool
fn eq(&self, other: &ListPartitionReassignmentsRequestData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListPartitionReassignmentsRequestData
Auto Trait Implementations§
impl Freeze for ListPartitionReassignmentsRequestData
impl RefUnwindSafe for ListPartitionReassignmentsRequestData
impl Send for ListPartitionReassignmentsRequestData
impl Sync for ListPartitionReassignmentsRequestData
impl Unpin for ListPartitionReassignmentsRequestData
impl UnsafeUnpin for ListPartitionReassignmentsRequestData
impl UnwindSafe for ListPartitionReassignmentsRequestData
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