pub struct PartitionOffset {
pub topic: String,
pub partition: i32,
pub offset: i64,
}Expand description
A partition offset is up to where you want to mark complete in a topic
Fields§
§topic: String§partition: i32§offset: i64Trait Implementations§
Source§impl Debug for PartitionOffset
impl Debug for PartitionOffset
Source§impl<'de> Deserialize<'de> for PartitionOffset
impl<'de> Deserialize<'de> for PartitionOffset
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
Auto Trait Implementations§
impl Freeze for PartitionOffset
impl RefUnwindSafe for PartitionOffset
impl Send for PartitionOffset
impl Sync for PartitionOffset
impl Unpin for PartitionOffset
impl UnwindSafe for PartitionOffset
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