#[non_exhaustive]pub struct TableResult {
pub name: String,
pub overview: String,
pub schema: Option<Schema>,
pub queries: Vec<Query>,
/* private fields */
}Expand description
Generated metadata about the table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. The service-qualified full resource name of the cloud resource. Ex: //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
overview: StringOutput only. Generated description of the table.
schema: Option<Schema>Output only. Schema of the table with generated metadata of the columns in the schema.
queries: Vec<Query>Output only. Sample SQL queries for the table.
Implementations§
Source§impl TableResult
impl TableResult
pub fn new() -> Self
Sourcepub fn set_overview<T: Into<String>>(self, v: T) -> Self
pub fn set_overview<T: Into<String>>(self, v: T) -> Self
Sets the value of overview.
Sourcepub fn set_schema<T>(self, v: T) -> Self
pub fn set_schema<T>(self, v: T) -> Self
Sets the value of schema.
Sourcepub fn set_or_clear_schema<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_schema<T>(self, v: Option<T>) -> Self
Sets or clears the value of schema.
Sourcepub fn set_queries<T, V>(self, v: T) -> Self
pub fn set_queries<T, V>(self, v: T) -> Self
Sets the value of queries.
Trait Implementations§
Source§impl Clone for TableResult
impl Clone for TableResult
Source§fn clone(&self) -> TableResult
fn clone(&self) -> TableResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableResult
impl Debug for TableResult
Source§impl Default for TableResult
impl Default for TableResult
Source§fn default() -> TableResult
fn default() -> TableResult
Returns the “default value” for a type. Read more
Source§impl Message for TableResult
impl Message for TableResult
Source§impl PartialEq for TableResult
impl PartialEq for TableResult
impl StructuralPartialEq for TableResult
Auto Trait Implementations§
impl Freeze for TableResult
impl RefUnwindSafe for TableResult
impl Send for TableResult
impl Sync for TableResult
impl Unpin for TableResult
impl UnwindSafe for TableResult
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
Mutably borrows from an owned value. Read more