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