pub struct SourceMetadata {
pub source_name: String,
pub offset: String,
pub timestamp: u64,
}Expand description
Source identity and position metadata.
Fields§
§source_name: StringLogical name of the source connector.
offset: StringSource-specific durable position encoded as a string.
timestamp: u64Source timestamp associated with the position.
Trait Implementations§
Source§impl Clone for SourceMetadata
impl Clone for SourceMetadata
Source§fn clone(&self) -> SourceMetadata
fn clone(&self) -> SourceMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceMetadata
impl Debug for SourceMetadata
Source§impl Default for SourceMetadata
impl Default for SourceMetadata
Source§fn default() -> SourceMetadata
fn default() -> SourceMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceMetadata
impl<'de> Deserialize<'de> for SourceMetadata
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 SourceMetadata
Source§impl PartialEq for SourceMetadata
impl PartialEq for SourceMetadata
Source§fn eq(&self, other: &SourceMetadata) -> bool
fn eq(&self, other: &SourceMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceMetadata
impl Serialize for SourceMetadata
impl StructuralPartialEq for SourceMetadata
Auto Trait Implementations§
impl Freeze for SourceMetadata
impl RefUnwindSafe for SourceMetadata
impl Send for SourceMetadata
impl Sync for SourceMetadata
impl Unpin for SourceMetadata
impl UnsafeUnpin for SourceMetadata
impl UnwindSafe for SourceMetadata
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