pub struct StateBatch {
pub first_offset: i64,
pub last_offset: i64,
pub delivery_state: i8,
pub delivery_count: i16,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§first_offset: i64§last_offset: i64§delivery_state: i8§delivery_count: i16§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl StateBatch
impl StateBatch
pub fn to_owned(&self) -> StateBatch
Trait Implementations§
Source§impl Clone for StateBatch
impl Clone for StateBatch
Source§fn clone(&self) -> StateBatch
fn clone(&self) -> StateBatch
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 StateBatch
impl Debug for StateBatch
Source§impl<'de> DecodeBorrow<'de> for StateBatch
impl<'de> DecodeBorrow<'de> for StateBatch
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§impl Default for StateBatch
impl Default for StateBatch
Source§fn default() -> StateBatch
fn default() -> StateBatch
Returns the “default value” for a type. Read more
Source§impl Encode for StateBatch
impl Encode for StateBatch
impl Eq for StateBatch
Source§impl PartialEq for StateBatch
impl PartialEq for StateBatch
Source§fn eq(&self, other: &StateBatch) -> bool
fn eq(&self, other: &StateBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateBatch
Auto Trait Implementations§
impl Freeze for StateBatch
impl RefUnwindSafe for StateBatch
impl Send for StateBatch
impl Sync for StateBatch
impl Unpin for StateBatch
impl UnsafeUnpin for StateBatch
impl UnwindSafe for StateBatch
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