pub struct PgTable<T>where
T: AstInfo,{
pub name: UnresolvedItemName,
pub alias: <T as AstInfo>::ItemName,
pub columns: Vec<ColumnDef<T>, Global>,
}
Expand description
Information about upstream Postgres tables used for replication sources
Fields§
§name: UnresolvedItemName
The name of the table to sync
alias: <T as AstInfo>::ItemName
The name for the table in Materialize
columns: Vec<ColumnDef<T>, Global>
The expected column schema of the synced table
Trait Implementations§
source§impl<T> AstDisplay for PgTable<T>where
T: AstInfo,
impl<T> AstDisplay for PgTable<T>where T: AstInfo,
fn fmt<W>(&self, f: &mut AstFormatter<W>)where W: Write,
fn to_ast_string(&self) -> String
fn to_ast_string_stable(&self) -> String
source§impl<T> PartialEq<PgTable<T>> for PgTable<T>where
T: PartialEq<T> + AstInfo,
<T as AstInfo>::ItemName: PartialEq<<T as AstInfo>::ItemName>,
impl<T> PartialEq<PgTable<T>> for PgTable<T>where T: PartialEq<T> + AstInfo, <T as AstInfo>::ItemName: PartialEq<<T as AstInfo>::ItemName>,
source§impl<'ast, T> VisitMutNode<'ast, T> for PgTable<T>where
T: AstInfo,
impl<'ast, T> VisitMutNode<'ast, T> for PgTable<T>where T: AstInfo,
impl<T> Eq for PgTable<T>where T: Eq + AstInfo, <T as AstInfo>::ItemName: Eq,
impl<T> StructuralEq for PgTable<T>where T: AstInfo,
impl<T> StructuralPartialEq for PgTable<T>where T: AstInfo,
Auto Trait Implementations§
impl<T> RefUnwindSafe for PgTable<T>where <T as AstInfo>::ClusterName: RefUnwindSafe, <T as AstInfo>::CteId: RefUnwindSafe, <T as AstInfo>::DataType: RefUnwindSafe, <T as AstInfo>::DatabaseName: RefUnwindSafe, <T as AstInfo>::ItemName: RefUnwindSafe, <T as AstInfo>::SchemaName: RefUnwindSafe,
impl<T> Send for PgTable<T>where <T as AstInfo>::ClusterName: Send, <T as AstInfo>::CteId: Send, <T as AstInfo>::DataType: Send, <T as AstInfo>::DatabaseName: Send, <T as AstInfo>::ItemName: Send, <T as AstInfo>::SchemaName: Send,
impl<T> Sync for PgTable<T>where <T as AstInfo>::ClusterName: Sync, <T as AstInfo>::CteId: Sync, <T as AstInfo>::DataType: Sync, <T as AstInfo>::DatabaseName: Sync, <T as AstInfo>::ItemName: Sync, <T as AstInfo>::SchemaName: Sync,
impl<T> Unpin for PgTable<T>where <T as AstInfo>::DataType: Unpin, <T as AstInfo>::ItemName: Unpin,
impl<T> UnwindSafe for PgTable<T>where <T as AstInfo>::ClusterName: UnwindSafe, <T as AstInfo>::CteId: UnwindSafe, <T as AstInfo>::DataType: UnwindSafe, <T as AstInfo>::DatabaseName: UnwindSafe, <T as AstInfo>::ItemName: UnwindSafe, <T as AstInfo>::SchemaName: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.