pub struct PgPublicationRel {
pub prpubid: SmolStr,
pub prrelid: SmolStr,
pub prqual: Option<SmolStr>,
pub prattrs: Option<Vec<u16>>,
}Expand description
The DDL-only contents of pg_publication_rel
Fields§
§prpubid: SmolStroid (references pg_publication.oid) Reference to publication
prrelid: SmolStroid (references pg_class.oid) Reference to relation
prqual: Option<SmolStr>pg_node_tree Expression tree (in nodeToString() representation) for the relation’s publication qualifying condition. Null if there is no publication qualifying condition.
prattrs: Option<Vec<u16>>int2vector (references pg_attribute.attnum) This is an array of values that indicates which table columns are part of the publication. For example, a value of 1 3 would mean that the first and the third table columns are published. A null value indicates that all columns are published.
Trait Implementations§
Source§impl Clone for PgPublicationRel
impl Clone for PgPublicationRel
Source§fn clone(&self) -> PgPublicationRel
fn clone(&self) -> PgPublicationRel
Returns a duplicate of the value. Read more
1.0.0 · 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 PgPublicationRel
impl Debug for PgPublicationRel
Source§impl<'de> Deserialize<'de> for PgPublicationRel
impl<'de> Deserialize<'de> for PgPublicationRel
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgPublicationRel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgPublicationRel, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgPublicationRel
impl PartialEq for PgPublicationRel
Source§impl Serialize for PgPublicationRel
impl Serialize for PgPublicationRel
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PgPublicationRel
impl StructuralPartialEq for PgPublicationRel
Auto Trait Implementations§
impl Freeze for PgPublicationRel
impl RefUnwindSafe for PgPublicationRel
impl Send for PgPublicationRel
impl Sync for PgPublicationRel
impl Unpin for PgPublicationRel
impl UnsafeUnpin for PgPublicationRel
impl UnwindSafe for PgPublicationRel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.