Struct sql_parser::ast::defs::ddl::PgTable [−][src]
pub struct PgTable<T: AstInfo> {
pub name: UnresolvedObjectName,
pub alias: T::ObjectName,
pub columns: Vec<ColumnDef<T>>,
}Expand description
Information about upstream Postgres tables used for replication sources
Fields
name: UnresolvedObjectNameThe name of the table to sync
alias: T::ObjectNameThe name for the table in Materialize
columns: Vec<ColumnDef<T>>The expected column schema of the synced table
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for PgTable<T> where
<T as AstInfo>::Id: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Unpin for PgTable<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for PgTable<T> where
<T as AstInfo>::Id: UnwindSafe,
<T as AstInfo>::ObjectName: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}) and returns it.
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more