pub struct MaterializedView {
pub chosen: Option<bool>,
pub estimated_bytes_saved: Option<i64>,
pub rejected_reason: Option<String>,
pub table_reference: Option<TableReference>,
}Expand description
A materialized view considered for a query job.
This type is not used in any activity, and only used as part of another schema.
Fields§
§chosen: Option<bool>Whether the materialized view is chosen for the query. A materialized view can be chosen to rewrite multiple parts of the same query. If a materialized view is chosen to rewrite any part of the query, then this field is true, even if the materialized view was not chosen to rewrite others parts.
estimated_bytes_saved: Option<i64>If present, specifies a best-effort estimation of the bytes saved by using the materialized view rather than its base tables.
rejected_reason: Option<String>If present, specifies the reason why the materialized view was not chosen for the query.
table_reference: Option<TableReference>The candidate materialized view.
Trait Implementations§
Source§impl Clone for MaterializedView
impl Clone for MaterializedView
Source§fn clone(&self) -> MaterializedView
fn clone(&self) -> MaterializedView
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 MaterializedView
impl Debug for MaterializedView
Source§impl Default for MaterializedView
impl Default for MaterializedView
Source§fn default() -> MaterializedView
fn default() -> MaterializedView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MaterializedView
impl<'de> Deserialize<'de> for MaterializedView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MaterializedView
impl Serialize for MaterializedView
impl Part for MaterializedView
Auto Trait Implementations§
impl Freeze for MaterializedView
impl RefUnwindSafe for MaterializedView
impl Send for MaterializedView
impl Sync for MaterializedView
impl Unpin for MaterializedView
impl UnwindSafe for MaterializedView
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