pub enum BinlogPkValue {
Int(i64),
Uint(u64),
Str(String),
Bytes(Vec<u8>),
}Expand description
A decoded primary key value from a binlog row image.
Variants§
Int(i64)
Signed integer value.
Uint(u64)
Unsigned integer value.
Str(String)
String value (VARCHAR, CHAR, etc.).
Bytes(Vec<u8>)
Raw bytes (BLOB, BINARY, etc.).
Trait Implementations§
Source§impl Clone for BinlogPkValue
impl Clone for BinlogPkValue
Source§fn clone(&self) -> BinlogPkValue
fn clone(&self) -> BinlogPkValue
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 BinlogPkValue
impl Debug for BinlogPkValue
Source§impl Display for BinlogPkValue
impl Display for BinlogPkValue
Source§impl PartialEq for BinlogPkValue
impl PartialEq for BinlogPkValue
Source§impl Serialize for BinlogPkValue
impl Serialize for BinlogPkValue
impl StructuralPartialEq for BinlogPkValue
Auto Trait Implementations§
impl Freeze for BinlogPkValue
impl RefUnwindSafe for BinlogPkValue
impl Send for BinlogPkValue
impl Sync for BinlogPkValue
impl Unpin for BinlogPkValue
impl UnsafeUnpin for BinlogPkValue
impl UnwindSafe for BinlogPkValue
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more