pub struct DebeziumPosition {
pub connector: String,
pub source: BTreeMap<String, Value>,
pub record_id: String,
pub event_serial: u64,
pub snapshot: bool,
}Expand description
Durable position for connectors executed by an upstream Debezium engine.
source preserves the connector-specific source metadata without forcing
proprietary offsets such as VGTID or Spanner partition tokens into a
lossy common scalar.
Fields§
§connector: String§source: BTreeMap<String, Value>§record_id: String§event_serial: u64§snapshot: boolTrait Implementations§
Source§impl Clone for DebeziumPosition
impl Clone for DebeziumPosition
Source§impl Debug for DebeziumPosition
impl Debug for DebeziumPosition
Source§impl<'de> Deserialize<'de> for DebeziumPosition
impl<'de> Deserialize<'de> for DebeziumPosition
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 DebeziumPosition
Source§impl PartialEq for DebeziumPosition
impl PartialEq for DebeziumPosition
Source§impl Serialize for DebeziumPosition
impl Serialize for DebeziumPosition
impl StructuralPartialEq for DebeziumPosition
Auto Trait Implementations§
impl Forget for DebeziumPosition
impl Freeze for DebeziumPosition
impl Move for DebeziumPosition
impl RefUnwindSafe for DebeziumPosition
impl Send for DebeziumPosition
impl Sync for DebeziumPosition
impl Unpin for DebeziumPosition
impl UnsafeUnpin for DebeziumPosition
impl UnwindSafe for DebeziumPosition
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.