pub struct PgPublication {
pub pubname: SmolStr,
pub pubowner: SmolStr,
pub puballtables: bool,
pub pubinsert: bool,
pub pubupdate: bool,
pub pubdelete: bool,
pub pubtruncate: bool,
pub pubviaroot: bool,
pub description: Option<SmolStr>,
pub seclabel: Option<SmolStr>,
pub seclabel_provider: Option<SmolStr>,
}Expand description
The DDL-only contents of pg_publication
Fields§
§pubname: SmolStrname Name of the publication
pubowner: SmolStroid (references pg_authid.oid) Owner of the publication
puballtables: boolbool If true, this publication automatically includes all tables in the database, including any that will be created in the future.
pubinsert: boolbool If true, INSERT operations are replicated for tables in the publication.
pubupdate: boolbool If true, UPDATE operations are replicated for tables in the publication.
pubdelete: boolbool If true, DELETE operations are replicated for tables in the publication.
pubtruncate: boolbool If true, TRUNCATE operations are replicated for tables in the publication.
pubviaroot: boolbool If true, operations on a leaf partition are replicated using the identity and schema of its topmost partitioned ancestor mentioned in the publication instead of its own.
description: Option<SmolStr>text The comment from pg_description
seclabel: Option<SmolStr>text The seclabel from pg_seclabel
seclabel_provider: Option<SmolStr>text The provider from pg_seclabel
Trait Implementations§
Source§impl Clone for PgPublication
impl Clone for PgPublication
Source§fn clone(&self) -> PgPublication
fn clone(&self) -> PgPublication
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PgPublication
impl Debug for PgPublication
Source§impl<'de> Deserialize<'de> for PgPublication
impl<'de> Deserialize<'de> for PgPublication
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgPublication, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgPublication, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Equivalent<PgPublication> for SmolStr
impl Equivalent<PgPublication> for SmolStr
Source§fn equivalent(&self, key: &PgPublication) -> bool
fn equivalent(&self, key: &PgPublication) -> bool
key and return true if they are equal.Source§impl Equivalent<PgPublication> for str
impl Equivalent<PgPublication> for str
Source§fn equivalent(&self, key: &PgPublication) -> bool
fn equivalent(&self, key: &PgPublication) -> bool
key and return true if they are equal.Source§impl Hash for PgPublication
impl Hash for PgPublication
Source§impl PartialEq for PgPublication
impl PartialEq for PgPublication
Source§impl Serialize for PgPublication
impl Serialize for PgPublication
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,
impl Eq for PgPublication
impl StructuralPartialEq for PgPublication
Auto Trait Implementations§
impl Freeze for PgPublication
impl RefUnwindSafe for PgPublication
impl Send for PgPublication
impl Sync for PgPublication
impl Unpin for PgPublication
impl UnsafeUnpin for PgPublication
impl UnwindSafe for PgPublication
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
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
key and return true if they are equal.