#[non_exhaustive]pub struct TableChangeInsight {
pub table_reference: Option<TableReference>,
pub metadata_cache_staleness_insight: Option<MetadataCacheStalenessInsight>,
pub metadata_cache_not_used_but_used_previously: Option<bool>,
/* private fields */
}Expand description
Table-level performance insights compared to previous runs. These insights don’t apply to specific query stages, rather they apply to the whole table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.table_reference: Option<TableReference>Output only. The table that was queried.
metadata_cache_staleness_insight: Option<MetadataCacheStalenessInsight>Output only. If present, indicates that the table’s metadata column index staleness has increased significantly compared to previous jobs with the same query hash.
metadata_cache_not_used_but_used_previously: Option<bool>Output only. True if the table’s column metadata index was not used in the current job, but was used in a previous job with the same query hash.
Implementations§
Source§impl TableChangeInsight
impl TableChangeInsight
Sourcepub fn set_table_reference<T>(self, v: T) -> Selfwhere
T: Into<TableReference>,
pub fn set_table_reference<T>(self, v: T) -> Selfwhere
T: Into<TableReference>,
Sets the value of table_reference.
§Example
use google_cloud_bigquery_v2::model::TableReference;
let x = TableChangeInsight::new().set_table_reference(TableReference::default()/* use setters */);Sourcepub fn set_or_clear_table_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<TableReference>,
pub fn set_or_clear_table_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<TableReference>,
Sets or clears the value of table_reference.
§Example
use google_cloud_bigquery_v2::model::TableReference;
let x = TableChangeInsight::new().set_or_clear_table_reference(Some(TableReference::default()/* use setters */));
let x = TableChangeInsight::new().set_or_clear_table_reference(None::<TableReference>);Sourcepub fn set_metadata_cache_staleness_insight<T>(self, v: T) -> Selfwhere
T: Into<MetadataCacheStalenessInsight>,
pub fn set_metadata_cache_staleness_insight<T>(self, v: T) -> Selfwhere
T: Into<MetadataCacheStalenessInsight>,
Sets the value of metadata_cache_staleness_insight.
§Example
use google_cloud_bigquery_v2::model::MetadataCacheStalenessInsight;
let x = TableChangeInsight::new().set_metadata_cache_staleness_insight(MetadataCacheStalenessInsight::default()/* use setters */);Sourcepub fn set_or_clear_metadata_cache_staleness_insight<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<MetadataCacheStalenessInsight>,
pub fn set_or_clear_metadata_cache_staleness_insight<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<MetadataCacheStalenessInsight>,
Sets or clears the value of metadata_cache_staleness_insight.
§Example
use google_cloud_bigquery_v2::model::MetadataCacheStalenessInsight;
let x = TableChangeInsight::new().set_or_clear_metadata_cache_staleness_insight(Some(MetadataCacheStalenessInsight::default()/* use setters */));
let x = TableChangeInsight::new().set_or_clear_metadata_cache_staleness_insight(None::<MetadataCacheStalenessInsight>);Sourcepub fn set_metadata_cache_not_used_but_used_previously<T>(self, v: T) -> Self
pub fn set_metadata_cache_not_used_but_used_previously<T>(self, v: T) -> Self
Sets the value of metadata_cache_not_used_but_used_previously.
§Example
let x = TableChangeInsight::new().set_metadata_cache_not_used_but_used_previously(true);Sourcepub fn set_or_clear_metadata_cache_not_used_but_used_previously<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_metadata_cache_not_used_but_used_previously<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of metadata_cache_not_used_but_used_previously.
§Example
let x = TableChangeInsight::new().set_or_clear_metadata_cache_not_used_but_used_previously(Some(false));
let x = TableChangeInsight::new().set_or_clear_metadata_cache_not_used_but_used_previously(None::<bool>);Trait Implementations§
Source§impl Clone for TableChangeInsight
impl Clone for TableChangeInsight
Source§fn clone(&self) -> TableChangeInsight
fn clone(&self) -> TableChangeInsight
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TableChangeInsight
impl Debug for TableChangeInsight
Source§impl Default for TableChangeInsight
impl Default for TableChangeInsight
Source§fn default() -> TableChangeInsight
fn default() -> TableChangeInsight
Source§impl Message for TableChangeInsight
impl Message for TableChangeInsight
Source§impl PartialEq for TableChangeInsight
impl PartialEq for TableChangeInsight
impl StructuralPartialEq for TableChangeInsight
Auto Trait Implementations§
impl Freeze for TableChangeInsight
impl RefUnwindSafe for TableChangeInsight
impl Send for TableChangeInsight
impl Sync for TableChangeInsight
impl Unpin for TableChangeInsight
impl UnsafeUnpin for TableChangeInsight
impl UnwindSafe for TableChangeInsight
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
T in a tonic::Request