pub struct OffsetCheckpoint1 {
pub offset: i64,
pub synchronizer_times: Option<Vec<SynchronizerTime>>,
}
Expand description
OffsetCheckpoint1 : OffsetCheckpoints may be used to: - detect time out of commands. - provide an offset which can be used to restart consumption.
Fields§
§offset: i64
The participant’s offset, the details of the offset field are described in community/ledger-api/README.md
. Required, must be a valid absolute offset (positive integer).
synchronizer_times: Option<Vec<SynchronizerTime>>
Implementations§
Source§impl OffsetCheckpoint1
impl OffsetCheckpoint1
Sourcepub fn new(offset: i64) -> OffsetCheckpoint1
pub fn new(offset: i64) -> OffsetCheckpoint1
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 OffsetCheckpoint1
impl Clone for OffsetCheckpoint1
Source§fn clone(&self) -> OffsetCheckpoint1
fn clone(&self) -> OffsetCheckpoint1
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 OffsetCheckpoint1
impl Debug for OffsetCheckpoint1
Source§impl Default for OffsetCheckpoint1
impl Default for OffsetCheckpoint1
Source§fn default() -> OffsetCheckpoint1
fn default() -> OffsetCheckpoint1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OffsetCheckpoint1
impl<'de> Deserialize<'de> for OffsetCheckpoint1
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 OffsetCheckpoint1
impl PartialEq for OffsetCheckpoint1
Source§impl Serialize for OffsetCheckpoint1
impl Serialize for OffsetCheckpoint1
impl StructuralPartialEq for OffsetCheckpoint1
Auto Trait Implementations§
impl Freeze for OffsetCheckpoint1
impl RefUnwindSafe for OffsetCheckpoint1
impl Send for OffsetCheckpoint1
impl Sync for OffsetCheckpoint1
impl Unpin for OffsetCheckpoint1
impl UnwindSafe for OffsetCheckpoint1
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