pub struct Table {
pub table_name: Option<TableName>,
pub info: Option<TableInfo>,
pub schema_json: String,
pub view: Option<TableViewDefinition>,
pub expire_time: Option<Timestamp>,
pub create_time: Option<Timestamp>,
pub truncate_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub encryption: Option<EncryptionInfo>,
}
Expand description
Describes a BigQuery table.
See the Table API resource
for more details on individual fields.
Note: Table.schema
has been deprecated in favor of Table.schemaJson
.
Table.schema
may continue to be present in your logs during this
transition.
Fields§
§table_name: Option<TableName>
The name of the table.
info: Option<TableInfo>
User-provided metadata for the table.
schema_json: String
A JSON representation of the table’s schema.
view: Option<TableViewDefinition>
If present, this is a virtual table defined by a SQL query.
expire_time: Option<Timestamp>
The expiration date for the table, after which the table is deleted and the storage reclaimed. If not present, the table persists indefinitely.
create_time: Option<Timestamp>
The time the table was created.
truncate_time: Option<Timestamp>
The time the table was last truncated
by an operation with a writeDisposition
of WRITE_TRUNCATE
.
update_time: Option<Timestamp>
The time the table was last modified.
encryption: Option<EncryptionInfo>
The table encryption information. Set when non-default encryption is used.
Trait Implementations§
source§impl Message for Table
impl Message for Table
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 Table
impl PartialEq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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