pub struct TruncateMessage {
pub transaction_id: Option<i32>,
pub relations_count: i32,
pub is_cascade: bool,
pub is_restart_identity: bool,
pub oid: i32,
}
Fields§
§transaction_id: Option<i32>
Xid of the transaction (only present for streamed transactions).
NOTE: This field is available since protocol version 2.
relations_count: i32
Number of relations
is_cascade: bool
Is CASCADE
?
is_restart_identity: bool
Is RESTART IDENTITY
?
oid: i32
OID of the relation corresponding to the ID in the relation message.
Auto Trait Implementations§
impl Freeze for TruncateMessage
impl RefUnwindSafe for TruncateMessage
impl Send for TruncateMessage
impl Sync for TruncateMessage
impl Unpin for TruncateMessage
impl UnwindSafe for TruncateMessage
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