pub struct CdcOffset {
pub slot: String,
pub tx_end_lsn: PgLsn,
pub commit_lsn: PgLsn,
pub xid: u32,
pub event_index: u32,
pub event_count: u32,
}Expand description
Stable offset for downstream checkpointing and de-duplication.
Fields§
§slot: String§tx_end_lsn: PgLsn§commit_lsn: PgLsn§xid: u32§event_index: u32§event_count: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for CdcOffset
impl<'de> Deserialize<'de> for CdcOffset
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
impl Eq for CdcOffset
Source§impl Ord for CdcOffset
impl Ord for CdcOffset
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CdcOffset
impl PartialOrd for CdcOffset
impl StructuralPartialEq for CdcOffset
Auto Trait Implementations§
impl Freeze for CdcOffset
impl RefUnwindSafe for CdcOffset
impl Send for CdcOffset
impl Sync for CdcOffset
impl Unpin for CdcOffset
impl UnsafeUnpin for CdcOffset
impl UnwindSafe for CdcOffset
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> JobKey for T
Source§impl<T> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage