Struct postgres_replication_types::types::GenericMessage
source · pub struct GenericMessage<'a> {
pub transaction_id: Option<i32>,
pub is_transactional: bool,
pub lsn: i64,
pub prefix: String,
pub length: i32,
pub content: &'a [u8],
}
Fields§
§transaction_id: Option<i32>
Xid of the transaction (only present for streamed transactions).
NOTE: This field is available since protocol version 2.
is_transactional: bool
If the logical decoding message is transactional?
lsn: i64
The LSN of the logical decoding message.
prefix: String
The prefix of the logical decoding message.
length: i32
Length of the content.
content: &'a [u8]
The content of the logical decoding message.