pub struct OffsetCheckpoint2 {
pub value: Box<OffsetCheckpoint1>,
}
Expand description
OffsetCheckpoint2 : OffsetCheckpoints may be used to: - detect time out of commands. - provide an offset which can be used to restart consumption.
Fields§
§value: Box<OffsetCheckpoint1>
Implementations§
Source§impl OffsetCheckpoint2
impl OffsetCheckpoint2
Sourcepub fn new(value: OffsetCheckpoint1) -> OffsetCheckpoint2
pub fn new(value: OffsetCheckpoint1) -> OffsetCheckpoint2
OffsetCheckpoints may be used to: - detect time out of commands. - provide an offset which can be used to restart consumption.
Trait Implementations§
Source§impl Clone for OffsetCheckpoint2
impl Clone for OffsetCheckpoint2
Source§fn clone(&self) -> OffsetCheckpoint2
fn clone(&self) -> OffsetCheckpoint2
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 OffsetCheckpoint2
impl Debug for OffsetCheckpoint2
Source§impl Default for OffsetCheckpoint2
impl Default for OffsetCheckpoint2
Source§fn default() -> OffsetCheckpoint2
fn default() -> OffsetCheckpoint2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OffsetCheckpoint2
impl<'de> Deserialize<'de> for OffsetCheckpoint2
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 OffsetCheckpoint2
impl PartialEq for OffsetCheckpoint2
Source§impl Serialize for OffsetCheckpoint2
impl Serialize for OffsetCheckpoint2
impl StructuralPartialEq for OffsetCheckpoint2
Auto Trait Implementations§
impl Freeze for OffsetCheckpoint2
impl RefUnwindSafe for OffsetCheckpoint2
impl Send for OffsetCheckpoint2
impl Sync for OffsetCheckpoint2
impl Unpin for OffsetCheckpoint2
impl UnwindSafe for OffsetCheckpoint2
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