Struct postgres_replication::protocol::UpdateBody
source · pub struct UpdateBody { /* private fields */ }
Expand description
An UPDATE statement
Implementations§
source§impl UpdateBody
impl UpdateBody
sourcepub fn rel_id(&self) -> u32
pub fn rel_id(&self) -> u32
ID of the relation corresponding to the ID in the relation message.
sourcepub fn key_tuple(&self) -> Option<&Tuple>
pub fn key_tuple(&self) -> Option<&Tuple>
This field is optional and is only present if the update changed data in any of the column(s) that are part of the REPLICA IDENTITY index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateBody
impl RefUnwindSafe for UpdateBody
impl Send for UpdateBody
impl Sync for UpdateBody
impl Unpin for UpdateBody
impl UnwindSafe for UpdateBody
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