pub struct RelationMessage {
pub transaction_id: Option<i32>,
pub oid: i32,
pub namespace: Option<String>,
pub name: String,
pub replica_identity: i8,
pub columns: Vec<RelationMessageColumn>,
}Fields§
§transaction_id: Option<i32>Xid of the transaction (only present for streamed transactions).
NOTE: This field is available since protocol version 2.
oid: i32OID of the relation.
namespace: Option<String>Namespace (None for pg_catalog).
name: StringRelation name.
replica_identity: i8Replica identity setting for the relation (same as relreplident in pg_class).
columns: Vec<RelationMessageColumn>Columns.
Auto Trait Implementations§
impl Freeze for RelationMessage
impl RefUnwindSafe for RelationMessage
impl Send for RelationMessage
impl Sync for RelationMessage
impl Unpin for RelationMessage
impl UnwindSafe for RelationMessage
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