pub struct DeleteStateData {
pub topic_id: KafkaUuid,
pub partitions: Vec<PartitionData>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§topic_id: KafkaUuidThe topic identifier.
partitions: Vec<PartitionData>The data for the partitions.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DeleteStateData
impl DeleteStateData
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§impl Clone for DeleteStateData
impl Clone for DeleteStateData
Source§fn clone(&self) -> DeleteStateData
fn clone(&self) -> DeleteStateData
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 DeleteStateData
impl Debug for DeleteStateData
Source§impl Default for DeleteStateData
impl Default for DeleteStateData
Source§impl PartialEq for DeleteStateData
impl PartialEq for DeleteStateData
Source§fn eq(&self, other: &DeleteStateData) -> bool
fn eq(&self, other: &DeleteStateData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteStateData
Auto Trait Implementations§
impl Freeze for DeleteStateData
impl RefUnwindSafe for DeleteStateData
impl Send for DeleteStateData
impl Sync for DeleteStateData
impl Unpin for DeleteStateData
impl UnsafeUnpin for DeleteStateData
impl UnwindSafe for DeleteStateData
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