pub enum MaterializedViewRepresentation {
SqlMaterialized {
sql: String,
dialect: String,
format_version: FormatVersion,
storage_table: String,
},
}Expand description
Fields for the version 2 of the view metadata.
Variants§
SqlMaterialized
Fields
§
dialect: StringA string specifying the dialect of the ‘sql’ field. It can be used by the engines to detect the SQL dialect.
§
format_version: FormatVersionAn integer version number for the materialized view format. Currently, this must be 1. Implementations must throw an exception if the materialized view’s version is higher than the supported version.
This type of representation stores the original view definition in SQL and its SQL dialect.
Trait Implementations§
source§impl Clone for MaterializedViewRepresentation
impl Clone for MaterializedViewRepresentation
source§fn clone(&self) -> MaterializedViewRepresentation
fn clone(&self) -> MaterializedViewRepresentation
Returns a copy 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<'de> Deserialize<'de> for MaterializedViewRepresentation
impl<'de> Deserialize<'de> for MaterializedViewRepresentation
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 PartialEq for MaterializedViewRepresentation
impl PartialEq for MaterializedViewRepresentation
source§fn eq(&self, other: &MaterializedViewRepresentation) -> bool
fn eq(&self, other: &MaterializedViewRepresentation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MaterializedViewRepresentation
impl Representation for MaterializedViewRepresentation
impl StructuralEq for MaterializedViewRepresentation
impl StructuralPartialEq for MaterializedViewRepresentation
Auto Trait Implementations§
impl RefUnwindSafe for MaterializedViewRepresentation
impl Send for MaterializedViewRepresentation
impl Sync for MaterializedViewRepresentation
impl Unpin for MaterializedViewRepresentation
impl UnwindSafe for MaterializedViewRepresentation
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.