pub enum PublicationTarget {
AllTables,
Tables(Vec<ObjectName>),
TablesInSchema(Vec<Ident>),
}Expand description
The target of a CREATE PUBLICATION statement: which rows to publish.
See https://www.postgresql.org/docs/current/sql-createpublication.html
Variants§
AllTables
FOR ALL TABLES
Tables(Vec<ObjectName>)
FOR TABLE table [, ...]
TablesInSchema(Vec<Ident>)
FOR TABLES IN SCHEMA schema [, ...]
Trait Implementations§
Source§impl Clone for PublicationTarget
impl Clone for PublicationTarget
Source§fn clone(&self) -> PublicationTarget
fn clone(&self) -> PublicationTarget
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 PublicationTarget
impl Debug for PublicationTarget
Source§impl<'de> Deserialize<'de> for PublicationTarget
impl<'de> Deserialize<'de> for PublicationTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PublicationTarget
impl Display for PublicationTarget
Source§impl Hash for PublicationTarget
impl Hash for PublicationTarget
Source§impl Ord for PublicationTarget
impl Ord for PublicationTarget
Source§fn cmp(&self, other: &PublicationTarget) -> Ordering
fn cmp(&self, other: &PublicationTarget) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PublicationTarget
impl PartialEq for PublicationTarget
Source§impl PartialOrd for PublicationTarget
impl PartialOrd for PublicationTarget
Source§impl Serialize for PublicationTarget
impl Serialize for PublicationTarget
Source§impl Visit for PublicationTarget
impl Visit for PublicationTarget
Source§impl VisitMut for PublicationTarget
impl VisitMut for PublicationTarget
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for PublicationTarget
impl StructuralPartialEq for PublicationTarget
Auto Trait Implementations§
impl Freeze for PublicationTarget
impl RefUnwindSafe for PublicationTarget
impl Send for PublicationTarget
impl Sync for PublicationTarget
impl Unpin for PublicationTarget
impl UnsafeUnpin for PublicationTarget
impl UnwindSafe for PublicationTarget
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