pub struct CreatePublicationStatement {
pub name: String,
pub scope: PublicationScope,
}Expand description
v6.1.2 — CREATE PUBLICATION AST node. The scope field uses
the PublicationScope shape. v6.1.2 only accepted
AllTables; v6.1.3 unlocks the ForTables / AllTablesExcept
variants by flipping the parser gate (no AST migration).
Fields§
§name: String§scope: PublicationScopeTrait Implementations§
Source§impl Clone for CreatePublicationStatement
impl Clone for CreatePublicationStatement
Source§fn clone(&self) -> CreatePublicationStatement
fn clone(&self) -> CreatePublicationStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreatePublicationStatement
impl Debug for CreatePublicationStatement
impl Eq for CreatePublicationStatement
Source§impl PartialEq for CreatePublicationStatement
impl PartialEq for CreatePublicationStatement
Source§fn eq(&self, other: &CreatePublicationStatement) -> bool
fn eq(&self, other: &CreatePublicationStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatePublicationStatement
Auto Trait Implementations§
impl Freeze for CreatePublicationStatement
impl RefUnwindSafe for CreatePublicationStatement
impl Send for CreatePublicationStatement
impl Sync for CreatePublicationStatement
impl Unpin for CreatePublicationStatement
impl UnsafeUnpin for CreatePublicationStatement
impl UnwindSafe for CreatePublicationStatement
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