pub struct PartitionOffsets {
pub beginning_offset: Offset,
pub end_offset: Offset,
}Expand description
The reply to an offsets request
Fields§
§beginning_offset: Offset§end_offset: OffsetTrait Implementations§
Source§impl Clone for PartitionOffsets
impl Clone for PartitionOffsets
Source§fn clone(&self) -> PartitionOffsets
fn clone(&self) -> PartitionOffsets
Returns a duplicate of the value. Read more
1.0.0 · 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 PartitionOffsets
impl Debug for PartitionOffsets
Source§impl<'de> Deserialize<'de> for PartitionOffsets
impl<'de> Deserialize<'de> for PartitionOffsets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PartitionOffsets
impl PartialEq for PartitionOffsets
Source§impl Serialize for PartitionOffsets
impl Serialize for PartitionOffsets
impl Eq for PartitionOffsets
impl StructuralPartialEq for PartitionOffsets
Auto Trait Implementations§
impl Freeze for PartitionOffsets
impl RefUnwindSafe for PartitionOffsets
impl Send for PartitionOffsets
impl Sync for PartitionOffsets
impl Unpin for PartitionOffsets
impl UnwindSafe for PartitionOffsets
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