pub struct OffsetCheckpoint {
pub value: Box<OffsetCheckpoint1>,
}
Expand description
OffsetCheckpoint : 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 OffsetCheckpoint
impl OffsetCheckpoint
Sourcepub fn new(value: OffsetCheckpoint1) -> OffsetCheckpoint
pub fn new(value: OffsetCheckpoint1) -> OffsetCheckpoint
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 OffsetCheckpoint
impl Clone for OffsetCheckpoint
Source§fn clone(&self) -> OffsetCheckpoint
fn clone(&self) -> OffsetCheckpoint
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 OffsetCheckpoint
impl Debug for OffsetCheckpoint
Source§impl Default for OffsetCheckpoint
impl Default for OffsetCheckpoint
Source§fn default() -> OffsetCheckpoint
fn default() -> OffsetCheckpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OffsetCheckpoint
impl<'de> Deserialize<'de> for OffsetCheckpoint
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 OffsetCheckpoint
impl PartialEq for OffsetCheckpoint
Source§impl Serialize for OffsetCheckpoint
impl Serialize for OffsetCheckpoint
impl StructuralPartialEq for OffsetCheckpoint
Auto Trait Implementations§
impl Freeze for OffsetCheckpoint
impl RefUnwindSafe for OffsetCheckpoint
impl Send for OffsetCheckpoint
impl Sync for OffsetCheckpoint
impl Unpin for OffsetCheckpoint
impl UnwindSafe for OffsetCheckpoint
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