Struct sql::ast::PgTable [−][src]
pub struct PgTable<T> where
T: AstInfo, {
pub name: UnresolvedObjectName,
pub alias: <T as AstInfo>::ObjectName,
pub columns: Vec<ColumnDef<T>, Global>,
}
Expand description
Information about upstream Postgres tables used for replication sources
Fields
name: UnresolvedObjectName
The name of the table to sync
alias: <T as AstInfo>::ObjectName
The name for the table in Materialize
columns: Vec<ColumnDef<T>, Global>
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