Struct google_api_proto::google::cloud::bigquery::v2::TableReplicationInfo
source · pub struct TableReplicationInfo {
pub source_table: Option<TableReference>,
pub replication_interval_ms: i64,
pub replicated_source_last_refresh_time: i64,
pub replication_status: i32,
pub replication_error: Option<ErrorProto>,
}
Expand description
Replication info of a table created using AS REPLICA
DDL like:
CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv
Fields§
§source_table: Option<TableReference>
Required. Source table reference that is replicated.
replication_interval_ms: i64
Optional. Specifies the interval at which the source table is polled for updates. It’s Optional. If not specified, default replication interval would be applied.
replicated_source_last_refresh_time: i64
Optional. Output only. If source is a materialized view, this field signifies the last refresh time of the source.
replication_status: i32
Optional. Output only. Replication status of configured replication.
replication_error: Option<ErrorProto>
Optional. Output only. Replication error that will permanently stopped table replication.
Implementations§
source§impl TableReplicationInfo
impl TableReplicationInfo
sourcepub fn replication_status(&self) -> ReplicationStatus
pub fn replication_status(&self) -> ReplicationStatus
Returns the enum value of replication_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_replication_status(&mut self, value: ReplicationStatus)
pub fn set_replication_status(&mut self, value: ReplicationStatus)
Sets replication_status
to the provided enum value.
Trait Implementations§
source§impl Clone for TableReplicationInfo
impl Clone for TableReplicationInfo
source§fn clone(&self) -> TableReplicationInfo
fn clone(&self) -> TableReplicationInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableReplicationInfo
impl Debug for TableReplicationInfo
source§impl Default for TableReplicationInfo
impl Default for TableReplicationInfo
source§impl Message for TableReplicationInfo
impl Message for TableReplicationInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TableReplicationInfo
impl PartialEq for TableReplicationInfo
source§fn eq(&self, other: &TableReplicationInfo) -> bool
fn eq(&self, other: &TableReplicationInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableReplicationInfo
Auto Trait Implementations§
impl Freeze for TableReplicationInfo
impl RefUnwindSafe for TableReplicationInfo
impl Send for TableReplicationInfo
impl Sync for TableReplicationInfo
impl Unpin for TableReplicationInfo
impl UnwindSafe for TableReplicationInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
T
in a tonic::Request