pub struct DeleteRecordsPartitionResult {
pub partition_index: i32,
pub low_watermark: i64,
pub error_code: i16,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§partition_index: i32The partition index.
low_watermark: i64The partition low water mark.
error_code: i16The deletion error code, or 0 if the deletion succeeded.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DeleteRecordsPartitionResult
impl DeleteRecordsPartitionResult
pub fn with_partition_index(self, value: i32) -> Self
pub fn with_low_watermark(self, value: i64) -> Self
pub fn with_error_code(self, value: i16) -> 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 DeleteRecordsPartitionResult
impl Clone for DeleteRecordsPartitionResult
Source§fn clone(&self) -> DeleteRecordsPartitionResult
fn clone(&self) -> DeleteRecordsPartitionResult
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 DeleteRecordsPartitionResult
impl Debug for DeleteRecordsPartitionResult
Source§impl PartialEq for DeleteRecordsPartitionResult
impl PartialEq for DeleteRecordsPartitionResult
Source§fn eq(&self, other: &DeleteRecordsPartitionResult) -> bool
fn eq(&self, other: &DeleteRecordsPartitionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteRecordsPartitionResult
Auto Trait Implementations§
impl Freeze for DeleteRecordsPartitionResult
impl RefUnwindSafe for DeleteRecordsPartitionResult
impl Send for DeleteRecordsPartitionResult
impl Sync for DeleteRecordsPartitionResult
impl Unpin for DeleteRecordsPartitionResult
impl UnsafeUnpin for DeleteRecordsPartitionResult
impl UnwindSafe for DeleteRecordsPartitionResult
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