pub struct SourceMessageId {
pub database: String,
pub table: String,
pub local_id: String,
}Expand description
Local IDs are scoped to a database and a table. Decimal strings avoid a lossy JSON floating-point conversion and are not native server checkpoints.
Fields§
§database: String§table: String§local_id: StringTrait Implementations§
Source§impl Clone for SourceMessageId
impl Clone for SourceMessageId
Source§impl Debug for SourceMessageId
impl Debug for SourceMessageId
Source§impl<'de> Deserialize<'de> for SourceMessageId
impl<'de> Deserialize<'de> for SourceMessageId
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 SourceMessageId
Source§impl Ord for SourceMessageId
impl Ord for SourceMessageId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceMessageId
impl PartialEq for SourceMessageId
Source§impl PartialOrd for SourceMessageId
impl PartialOrd for SourceMessageId
Source§impl Serialize for SourceMessageId
impl Serialize for SourceMessageId
impl StructuralPartialEq for SourceMessageId
Auto Trait Implementations§
impl Freeze for SourceMessageId
impl RefUnwindSafe for SourceMessageId
impl Send for SourceMessageId
impl Sync for SourceMessageId
impl Unpin for SourceMessageId
impl UnsafeUnpin for SourceMessageId
impl UnwindSafe for SourceMessageId
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